~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Lee Bieber
  • Date: 2010-11-20 22:04:04 UTC
  • mfrom: (1942.1.4 b)
  • Revision ID: kalebral@gmail.com-20101120220404-2qpb4xuik9wv9u1q
Merge Lee -  Run bzr ignore for leftover files
Merge Shrews - Add a --replicate-query option to the server which controls whether or not the SQL query string is included in the GPB Statement messages.
Merge Andrew - fix bug 665119: drizzleslap has -i mapped to two options
Merge Andrew fix bug 674145: Table Names Not Case Matched

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
----------------