All SHOW commands are shorthand forms of queries on the INFORMATION_SCHEMA and/or DATA_DICTIONARY. More data can be gained by executing queries directly on the tables found either the DATA_DICTIONARY or the INFORMATION_SCHEMA.
4
All SHOW commands are shorthand forms of queries on the INFORMATION_SCHEMA
5
and/or DATA_DICTIONARY. More data can be
6
gained by exeucting queries directly on the tables found either the
7
DATA_DICTIONARY or the INFORMATION_SCHEMA.
5
8
6
9
SHOW SCHEMAS
7
10
------------
19
22
SHOW TABLE STATUS
20
23
-----------------
21
24
22
Will show the current status of tables for the current database which are
23
currently in the table cache. A query (such as SELECT) may be needed to add a
24
table to the table cache so that it can be shown in this output.
25
25
26
26
SHOW COLUMNS FROM table_name
27
27
----------------------------
48
48
SHOW CREATE TABLE table_name
49
49
----------------------------
50
50
51
Shows the CREATE TABLE statement used to create the table table_name. Please
52
note the AUTO_INCREMENT in this is the AUTO_INCREMENT specified at CREATE or
53
ALTER TABLE time, not the current AUTO_INCREMENT value.
51
Shows the CREATE TABLE statement used to create the table table_name.