Difference between revisions of "SYSVERSIONCOLUMNS"

From Recital Documentation Wiki
Jump to: navigation, search
Line 11: Line 11:
  
 
==See Also==
 
==See Also==
SELECT, SYSTEM TABLES, DATA TYPES
+
[DATA TYPES]], [[SQL SELECT|SELECT]], [[SYSTEM TABLES]]
  
  
Line 40: Line 40:
  
 
==Example==
 
==Example==
 +
<code lang="recital">
 
EXEC SQL
 
EXEC SQL
 
SELECT *
 
SELECT *
FROM sysversioncolumns;
+
FROM sysversioncolumns;</code>
  
  

Revision as of 11:07, 13 March 2009

SYSVERSIONCOLUMNS

Class

SQL Applications


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

EXEC SQL
SELECT *
FROM sysversioncolumns;


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer