Difference between revisions of "SYSTABLES"
From Lianjapedia
m (Text replace - "Recital" to "Lianja") |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Description of the tables available in the catalog | Description of the tables available in the catalog | ||
− | |||
==See Also== | ==See Also== | ||
[[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]] | [[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]] | ||
− | |||
==Description== | ==Description== | ||
System Tables are system defined read-only tables. You can query these tables using the SELECT statement. | System Tables are system defined read-only tables. You can query these tables using the SELECT statement. | ||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 25: | Line 22: | ||
|- | |- | ||
|} | |} | ||
− | |||
==Example== | ==Example== | ||
Line 32: | Line 28: | ||
WHERE table_type = 'TABLE' | WHERE table_type = 'TABLE' | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== |
Revision as of 11:20, 11 December 2012
Contents
Purpose
Description of the tables available in the catalog
See Also
DATA TYPES, SELECT, SYSTEM TABLES
Description
System Tables are system defined read-only tables. You can query these tables using the SELECT statement.
Column | Data Type | Width | Description |
---|---|---|---|
TABLE_CAT | C | 30 | Table catalog |
TABLE_SCHEM | C | 30 | Table schema |
TABLE_NAME | C | 30 | Table name |
TABLE_TYPE | C | 15 | Table type |
REMARKS | C | 100 | Comment describing table |
Example
SELECT * FROM systables; WHERE table_type = 'TABLE'
Products
Lianja, Lianja Server