~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Mark Atwood
  • Date: 2011-08-17 19:14:47 UTC
  • mfrom: (2385.3.17 rf)
  • Revision ID: me@mark.atwood.name-20110817191447-h86yzddvycd0xmof
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
SHOW
2
2
=====
3
3
 
4
 
All show commans are mapped to table functions in Drizzle. More data can be
5
 
gained by exeucting queries directly on the tables found either the
6
 
DATA_DICTIONARY or the INFORMATION_SCHEMA.
 
4
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.
7
5
 
8
6
SHOW SCHEMAS
9
7
------------
21
19
SHOW TABLE STATUS
22
20
-----------------
23
21
 
 
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.
24
25
 
25
26
SHOW COLUMNS FROM table_name
26
27
----------------------------
47
48
SHOW CREATE TABLE table_name
48
49
----------------------------
49
50
 
50
 
Shows the CREATE TABLE statement used to create the table table_name.
 
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
54
 
52
55
SHOW PROCESSLIST
53
56
----------------