Difference between revisions of "SYSVERSIONCOLUMNS"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Description of the columns in a table that are automatically updated when any row is updated | Description of the columns in a table that are automatically updated when any row is updated | ||
Line 11: | Line 4: | ||
==See Also== | ==See Also== | ||
− | SELECT, SYSTEM TABLES | + | [[SQL Data Types|DATA TYPES]], [[SQL SELECT|SELECT]], [[SQL System Tables|SYSTEM TABLES]] |
Line 17: | Line 10: | ||
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= | + | {| class="wikitable" |
!Column||Data Type||Width||Description | !Column||Data Type||Width||Description | ||
|- | |- | ||
Line 40: | Line 33: | ||
==Example== | ==Example== | ||
− | + | <code lang="recital"> | |
− | SELECT * | + | SELECT * FROM sysversioncolumns |
− | FROM sysversioncolumns | + | </code> |
==Products== | ==Products== | ||
− | Recital | + | Recital, Recital Server |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:SQL]] | [[Category:SQL]] | ||
[[Category:System Tables]] | [[Category:System Tables]] |
Latest revision as of 17:07, 22 December 2009
Contents
Purpose
Description of the columns in a table that are automatically updated when any row is updated
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 |
---|---|---|---|
SCOPE | N | 1 | Reserved |
COLUMN_NAME | C | 30 | Column name |
DATA_TYPE | N | 2 | SQL data type |
TYPE_NAME | C | 30 | Data source-dependent type name |
COLUMN_SIZE | N | 3 | Precision |
BUFFER_LENGTH | N | 1 | Length of column value in bytes |
DECIMAL_DIGITS | N | 2 | Scale |
PSEUDO_COLUMN | N | 1 | Is this a pseudo column? |
Example
SELECT * FROM sysversioncolumns
Products
Recital, Recital Server