~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Lee Bieber
  • Date: 2011-02-05 02:34:27 UTC
  • mfrom: (2141.2.2 trunk-bug-702878)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: kalebral@gmail.com-20110205023427-id3k20p26ltspy4r
Merge Andrew - 702575: Need to document bug #622472
Merge Andrew - 702878: "Show table status" needs an overhaul  

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
SHOW TABLE STATUS
23
23
-----------------
24
24
 
 
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.
25
28
 
26
29
SHOW COLUMNS FROM table_name
27
30
----------------------------
48
51
SHOW CREATE TABLE table_name
49
52
----------------------------
50
53
 
51
 
Shows the CREATE TABLE statement used to create the table table_name.
 
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.
52
57
 
53
58
SHOW PROCESSLIST
54
59
----------------