Created
April 1, 2020 13:41
-
-
Save AllanLRH/48da93ba882dfc6c2f010e7dee1b8a77 to your computer and use it in GitHub Desktop.
Get SQL scheme information for table
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 COLUMN_NAME | |
,IS_NULLABLE | |
,DATA_TYPE | |
,CHARACTER_MAXIMUM_LENGTH | |
,NUMERIC_PRECISION | |
,DATETIME_PRECISION | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE TABLE_NAME = 'TABLE_NAME' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment