D.8. RDB$FIELDS
RDB$FIELDS stores definitions of columns and domains, both system and custom. This is where the detailed data attributes are stored for all columns.
The column RDB$FIELDS.RDB$FIELD_NAME
links to RDB$RELATION_FIELDS.RDB$FIELD_SOURCE
, not to RDB$RELATION_FIELDS.RDB$FIELD_NAME
.
Column Name | Data Type | Description |
---|---|---|
|
| The unique name of the domain created by the user or of the domain automatically built for the table column by the system.
System-created domain names start with the |
|
| Not used |
|
| The binary language representation (BLR) of the SQL expression specifying the check of the |
|
| The original source text in the SQL language specifying the check of the |
|
| The binary language representation (BLR) of the SQL expression the database server uses for evaluation when accessing a |
|
| The original source text of the expression that defines a |
|
| The default value, if any, for the field or domain, in binary language representation (BLR) |
|
| The default value in the source code, as an SQL constant or expression |
|
| Column size in bytes.
|
|
| The negative number that specifies the scale for |
|
| Data type code for the column:
Codes for |
|
| Specifies the subtype for the BLOB data type:
Specifies for the CHAR data type:
Specifies the particular data type for the integer data types (
|
|
| Not used |
|
| Not used |
|
| Any domain (table column) comment text |
|
| Flag: the value of 1 means the domain is automatically created by the system, the value of 0 means that the domain is defined by the user |
|
| Not used |
|
| Specifies the length of the |
|
| Not used |
|
| The length of the column in bytes if it belongs to an external table.
Always |
|
| The scale factor of an integer-type field in an external table; represents the power of 10 by which the integer is multiplied |
|
| The data type of the field as it is represented in an external table:
|
|
| Defines the number of dimensions in an array if the column is defined as an array.
Always |
|
| Specifies whether the column can take an empty value (the field will contain |
|
| The length of |
|
| The identifier of the collation sequence for a character column or domain. If it is not defined, the value of the field will be 0 |
|
| The identifier of the character set for a character column, |
|
| Specifies the total number of digits for the fixed-point numeric data type ( |