SELECT * FROM `COLUMNS`
|
TABLE_CATALOG | TABLE_SCHEMA | TABLE_NAME | COLUMN_NAME | ORDINAL_POSITION | COLUMN_DEFAULT | IS_NULLABLE | DATA_TYPE | CHARACTER_MAXIMUM_LENGTH | CHARACTER_OCTET_LENGTH | NUMERIC_PRECISION | NUMERIC_SCALE | DATETIME_PRECISION | CHARACTER_SET_NAME | COLLATION_NAME | COLUMN_TYPE | COLUMN_KEY | EXTRA | PRIVILEGES | COLUMN_COMMENT | GENERATION_EXPRESSION | SRS_ID | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
def | information_schema | CHARACTER_SETS | CHARACTER_SET_NAME | 1 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(64) | select | NULL | |||||
def | information_schema | CHARACTER_SETS | DEFAULT_COLLATE_NAME | 2 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(64) | select | NULL | |||||
def | information_schema | CHARACTER_SETS | DESCRIPTION | 3 | NULL | NO | varchar | 2048 | 6144 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(2048) | select | NULL | |||||
def | information_schema | CHARACTER_SETS | MAXLEN | 4 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | CHECK_CONSTRAINTS | CONSTRAINT_CATALOG | 1 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_bin | varchar(64) | select | NULL | |||||
def | information_schema | CHECK_CONSTRAINTS | CONSTRAINT_SCHEMA | 2 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_bin | varchar(64) | select | NULL | |||||
def | information_schema | CHECK_CONSTRAINTS | CONSTRAINT_NAME | 3 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_tolower_ci | varchar(64) | select | NULL | |||||
def | information_schema | CHECK_CONSTRAINTS | CHECK_CLAUSE | 4 | NULL | NO | longtext | 4294967295 | 4294967295 | NULL | NULL | NULL | utf8 | utf8_bin | longtext | select | NULL | |||||
def | information_schema | COLLATIONS | COLLATION_NAME | 1 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(64) | select | NULL | |||||
def | information_schema | COLLATIONS | CHARACTER_SET_NAME | 2 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(64) | select | NULL | |||||
def | information_schema | COLLATIONS | ID | 3 | 0 | NO | bigint | NULL | NULL | 20 | 0 | NULL | NULL | NULL | bigint(20) unsigned | select | NULL | |||||
def | information_schema | COLLATIONS | IS_DEFAULT | 4 | NO | varchar | 3 | 9 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(3) | select | NULL | ||||||
def | information_schema | COLLATIONS | IS_COMPILED | 5 | NO | varchar | 3 | 9 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(3) | select | NULL | ||||||
def | information_schema | COLLATIONS | SORTLEN | 6 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | COLLATIONS | PAD_ATTRIBUTE | 7 | NULL | NO | enum | 9 | 27 | NULL | NULL | NULL | utf8 | utf8_bin | enum('PAD SPACE','NO PAD') | select | NULL | |||||
def | information_schema | COLLATION_CHARACTER_SET_APPLICABILITY | COLLATION_NAME | 1 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(64) | select | NULL | |||||
def | information_schema | COLLATION_CHARACTER_SET_APPLICABILITY | CHARACTER_SET_NAME | 2 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(64) | select | NULL | |||||
def | information_schema | COLUMNS | TABLE_CATALOG | 1 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_bin | varchar(64) | select | NULL | |||||
def | information_schema | COLUMNS | TABLE_SCHEMA | 2 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_bin | varchar(64) | select | NULL | |||||
def | information_schema | COLUMNS | TABLE_NAME | 3 | NULL | NO | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_bin | varchar(64) | select | NULL | |||||
def | information_schema | COLUMNS | COLUMN_NAME | 4 | NULL | YES | varchar | 64 | 192 | NULL | NULL | NULL | utf8 | utf8_tolower_ci | varchar(64) | select | NULL | |||||
def | information_schema | COLUMNS | ORDINAL_POSITION | 5 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | COLUMNS | COLUMN_DEFAULT | 6 | NULL | YES | text | 65535 | 65535 | NULL | NULL | NULL | utf8 | utf8_bin | text | select | NULL | |||||
def | information_schema | COLUMNS | IS_NULLABLE | 7 | NO | varchar | 3 | 9 | NULL | NULL | NULL | utf8 | utf8_general_ci | varchar(3) | select | NULL | ||||||
def | information_schema | COLUMNS | DATA_TYPE | 8 | NULL | YES | longtext | 4294967295 | 4294967295 | NULL | NULL | NULL | utf8 | utf8_bin | longtext | select | NULL |
|