RDB$FIELDS
Go Up to System Tables
RDB$FIELDS
defines the characteristics of a column. Each domain or column has a corresponding row in RDB$FIELDS
. Columns are added to tables by means of an entry in the RDB$RELATION_FIELDS
table, which describes local characteristics.
For domains, RDB$FIELDS
includes domain name, null status, and default values. SQL columns are defined in RDB$RELATION_FIELDS
. For both domains and simple columns, RDB$RELATION_FIELDS
can contain default and null status information.
Column name | Data Type | Length | Description |
---|---|---|---|
|
|
67 |
Unique name of a domain or system-assigned name for a column, starting with |
|
|
67 |
Not used for SQL objects. |
|
|
Not used for SQL objects. | |
|
|
Not used for SQL objects. | |
|
|
Subtype BLR; for computed columns, contains the BLR (Binary Language Representation) of the expression the database evaluates at the time of execution. | |
|
|
Subtype Text: For computed columns, contains the original | |
|
|
Stores default rule; subtype BLR. | |
|
|
Subtype Text; SQL description of a default value. | |
|
|
Length in bytes of the field this row defines: For For non-
| |
|
|
Stores the precision for numeric and decimal types. | |
|
|
Stores negative scale for numeric and decimal types. | |
|
|
Specifies the data type of the column being defined; changing the value of this column automatically changes the data type for all columns based on the column being defined. Valid values are:
Changing data from | |
|
|
Used to distinguish types of Blobs, 1 If
Corresponds to the 3 If
| |
|
|
Not used for SQL objects. | |
|
|
Not used for SQL objects. | |
|
|
Subtype Text: Contains a user-written description of the column being defined. | |
|
|
For system tables | |
|
|
Not used for SQL objects. | |
|
|
Used for Blob columns only; a non-binding suggestion for the length of Blob buffers. | |
|
|
125 |
Not used for SQL objects. |
|
|
Length of the column as it exists in an external table; if the column is not in an external table, this value is 0. | |
|
|
Scale factor for an external column of an integer data type; the scale factor is the power of 10 by which the integer is multiplied. | |
|
|
Indicates the data type of the column as it exists in an external table; valid values are:
| |
|
|
For an | |
|
|
Indicates whether a column can contain a Valid values are:
| |
|
|
Length in characters of the field this row defines: For | |
|
|
Unique identifier for the collation sequence. | |
|
|
ID indicating character set for the character or Blob columns; joins to the | |
RDB$SUBSCRIBE_FLAG |
|
2 |
Indicates one or more subscriptions of the field. |