~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Lee Bieber
  • Date: 2011-02-05 05:56:29 UTC
  • mfrom: (2145.1.3 build)
  • Revision ID: kalebral@gmail.com-20110205055629-iud8evvqwmozo61v
Merge Andrew - 702575: Need to document bug #622472
Merge Andrew - 702878: "Show table status" needs an overhaul  
Merge Lee - 712123: Remove warnings from unittests
Merge Patrick - 711273: dbqp not running rabbitmq tests, plus clean up server management

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