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 | Ubigeos | ubigeos | id_ubigeo | 1 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | PRI | select,insert,update,references | NULL | ||||
def | Ubigeos | ubigeos | ubigeo_reniec | 2 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | ubigeo_inei | 3 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | departamento_inei | 4 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | departamento | 5 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | provincia_inei | 6 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | provincia | 7 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | distrito | 8 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | region | 9 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | macroregion_inei | 10 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | macroregion_minsa | 11 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | iso_3166_2 | 12 | NULL | NO | varchar | 255 | 1020 | NULL | NULL | NULL | utf8mb4 | utf8mb4_general_ci | varchar(255) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | fips | 13 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | superficie | 14 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | altitud | 15 | NULL | NO | int | NULL | NULL | 10 | 0 | NULL | NULL | NULL | int(11) | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | latitud | 16 | NULL | NO | float | NULL | NULL | 12 | NULL | NULL | NULL | NULL | float | select,insert,update,references | NULL | |||||
def | Ubigeos | ubigeos | longitud | 17 | NULL | NO | float | NULL | NULL | 12 | NULL | NULL | NULL | NULL | float | select,insert,update,references | NULL | |||||
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 |
|