~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Brian Aker
  • Date: 2011-01-05 16:29:27 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20110105162927-fi2gnmlz35qcagik
Add additional gperf for non-reserved SQL keywords.

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 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 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.
5
7
 
6
8
SHOW SCHEMAS
7
9
------------
19
21
SHOW TABLE STATUS
20
22
-----------------
21
23
 
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
24
 
26
25
SHOW COLUMNS FROM table_name
27
26
----------------------------
48
47
SHOW CREATE TABLE table_name
49
48
----------------------------
50
49
 
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.
 
50
Shows the CREATE TABLE statement used to create the table table_name.
54
51
 
55
52
SHOW PROCESSLIST
56
53
----------------