Created
April 13, 2020 09:21
-
-
Save hooopo/8b3677eba803abfeefe7f3853b47ae76 to your computer and use it in GitHub Desktop.
This file contains 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, DATA_TYPE, IS_NULLABLE, COLUMN_DEFAULT FROM INFORMATION_SCHEMA.COLUMNS limit 10; | |
+----------------------+-----------+-------------+----------------+ | |
| COLUMN_NAME | DATA_TYPE | IS_NULLABLE | COLUMN_DEFAULT | | |
+----------------------+-----------+-------------+----------------+ | |
| CHARACTER_SET_NAME | varchar | NO | | | |
| DEFAULT_COLLATE_NAME | varchar | NO | | | |
| DESCRIPTION | varchar | NO | | | |
| MAXLEN | bigint | NO | 0 | | |
| COLLATION_NAME | varchar | NO | | | |
| CHARACTER_SET_NAME | varchar | NO | | | |
| ID | bigint | NO | 0 | | |
| IS_DEFAULT | varchar | NO | | | |
| IS_COMPILED | varchar | NO | | | |
| SORTLEN | bigint | NO | 0 | | |
+----------------------+-----------+-------------+----------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment