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 | mysql | innodb_table_stats | last_update | 3 | CURRENT_TIMESTAMP | NO | timestamp | NULL | NULL | NULL | NULL | 0 | NULL | NULL | timestamp | DEFAULT_GENERATED on update CURRENT_TIMESTAMP | select,insert,update,references | NULL | ||||
def | mysql | innodb_index_stats | last_update | 4 | CURRENT_TIMESTAMP | NO | timestamp | NULL | NULL | NULL | NULL | 0 | NULL | NULL | timestamp | DEFAULT_GENERATED on update CURRENT_TIMESTAMP | select,insert,update,references | 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 | COLLATIONS | ID | 3 | 0 | NO | bigint | NULL | NULL | 20 | 0 | NULL | NULL | NULL | bigint(20) unsigned | 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 | COLUMNS | ORDINAL_POSITION | 5 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | COLUMNS | CHARACTER_MAXIMUM_LENGTH | 9 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | COLUMNS | CHARACTER_OCTET_LENGTH | 10 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | COLUMNS | NUMERIC_PRECISION | 11 | NULL | YES | bigint | NULL | NULL | 20 | 0 | NULL | NULL | NULL | bigint(10) unsigned | select | NULL | |||||
def | information_schema | COLUMNS | NUMERIC_SCALE | 12 | NULL | YES | bigint | NULL | NULL | 20 | 0 | NULL | NULL | NULL | bigint(10) unsigned | select | NULL | |||||
def | information_schema | COLUMNS | DATETIME_PRECISION | 13 | NULL | YES | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | COLUMNS | SRS_ID | 22 | NULL | YES | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | EVENTS | EXECUTE_AT | 9 | NULL | YES | datetime | NULL | NULL | NULL | NULL | 0 | NULL | NULL | datetime | select | NULL | |||||
def | information_schema | EVENTS | STARTS | 13 | NULL | YES | datetime | NULL | NULL | NULL | NULL | 0 | NULL | NULL | datetime | select | NULL | |||||
def | information_schema | EVENTS | ENDS | 14 | NULL | YES | datetime | NULL | NULL | NULL | NULL | 0 | NULL | NULL | datetime | select | NULL | |||||
def | information_schema | EVENTS | CREATED | 17 | NULL | NO | timestamp | NULL | NULL | NULL | NULL | 0 | NULL | NULL | timestamp | select | NULL | |||||
def | information_schema | EVENTS | LAST_ALTERED | 18 | NULL | NO | timestamp | NULL | NULL | NULL | NULL | 0 | NULL | NULL | timestamp | select | NULL | |||||
def | information_schema | EVENTS | LAST_EXECUTED | 19 | NULL | YES | datetime | NULL | NULL | NULL | NULL | 0 | NULL | NULL | datetime | select | NULL | |||||
def | information_schema | EVENTS | ORIGINATOR | 21 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(10) unsigned | select | NULL | |||||
def | information_schema | FILES | FILE_ID | 1 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | FILES | LOGFILE_GROUP_NUMBER | 9 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | FILES | FREE_EXTENTS | 14 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | FILES | TOTAL_EXTENTS | 15 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | FILES | EXTENT_SIZE | 16 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL | |||||
def | information_schema | FILES | INITIAL_SIZE | 17 | NULL | YES | bigint | NULL | NULL | 19 | 0 | NULL | NULL | NULL | bigint(21) | select | NULL |
|