~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/show.rst

  • Committer: Brian Aker
  • Date: 2010-12-08 22:35:56 UTC
  • mfrom: (1819.9.158 update-innobase)
  • Revision ID: brian@tangent.org-20101208223556-37mi4omqg7lkjzf3
Merge in Stewart's changes, 1.3 changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SHOW
 
2
=====
 
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.
 
7
 
 
8
SHOW SCHEMAS
 
9
------------
 
10
 
 
11
Will list the names of all the schemas in the current catalog.
 
12
 
 
13
SHOW TABLES
 
14
-----------
 
15
 
 
16
Will list the names of all the tables in the current schema.
 
17
 
 
18
SHOW TEMPORARY TABLES
 
19
---------------------
 
20
 
 
21
SHOW TABLE STATUS
 
22
-----------------
 
23
 
 
24
 
 
25
SHOW COLUMNS FROM table_name
 
26
----------------------------
 
27
 
 
28
SHOW INDEXES from table_name
 
29
----------------------------
 
30
 
 
31
 
 
32
SHOW WARNINGS
 
33
-------------
 
34
 
 
35
Shows the warnings and/or errors from the previous command.
 
36
 
 
37
SHOW ERRORS
 
38
-----------
 
39
 
 
40
Shows errors from the previous command.
 
41
 
 
42
SHOW CREATE SCHEMA schema_name
 
43
------------------------------
 
44
 
 
45
Shows the CREATE SCHEMA command required to recreate schema_name.
 
46
 
 
47
SHOW CREATE TABLE table_name
 
48
----------------------------
 
49
 
 
50
Shows the CREATE TABLE statement used to create the table table_name.
 
51
 
 
52
SHOW PROCESSLIST
 
53
----------------
 
54