~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Lee Bieber
  • Date: 2010-12-23 23:11:00 UTC
  • mfrom: (2024.1.1 clean)
  • Revision ID: kalebral@gmail.com-20101223231100-0rqirgz7ugkl10yp
Merge Brian - session list cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
SHOW
2
2
=====
3
3
 
4
 
All SHOW commands are shorthand forms of queries on the INFORMATION_SCHEMA
5
 
and/or DATA_DICTIONARY. More data can be
 
4
All show commans are mapped to table functions in Drizzle. More data can be
6
5
gained by exeucting queries directly on the tables found either the
7
6
DATA_DICTIONARY or the INFORMATION_SCHEMA.
8
7
 
22
21
SHOW TABLE STATUS
23
22
-----------------
24
23
 
25
 
Will show the current status of tables for the current database which are
26
 
currently in the table cache.  A query (such as SELECT) may be needed to add a
27
 
table to the table cache so that it can be shown in this output.
28
24
 
29
25
SHOW COLUMNS FROM table_name
30
26
----------------------------
51
47
SHOW CREATE TABLE table_name
52
48
----------------------------
53
49
 
54
 
Shows the CREATE TABLE statement used to create the table table_name.  Please
55
 
note the AUTO_INCREMENT in this is the AUTO_INCREMENT specified at CREATE or
56
 
ALTER TABLE time, not the current AUTO_INCREMENT value.
 
50
Shows the CREATE TABLE statement used to create the table table_name.
57
51
 
58
52
SHOW PROCESSLIST
59
53
----------------