Created
November 23, 2021 20:00
-
-
Save spy86/4fd5259095e74105784203e5824ef403 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT table_schema | |
,table_name | |
,column_name | |
,data_type | |
,character_maximum_length | |
,numeric_precision | |
,column_default | |
FROM information_schema.columns | |
WHERE table_name = 't1' | |
ORDER BY table_name | |
,ordinal_position; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment