This appendix documents the organization of the data dictionary tables, which are stored in the databank SYSDB.
The tables are created by the SDBGEN program when the system is created. The tables are created in a schema called SYSTEM and are thus effectively owned by a pseudo ident called SYSTEM.
The database administration ident SYSADM is granted SELECT access on the dictionary tables with the WITH GRANT OPTION. No other user may read the data dictionary base tables unless authorized to do so by SYSADM.
A set of system views is defined on the data dictionary tables when the system is installed, see the Mimer SQL Reference Manual, Data Dictionary Views for more information).
The logical group PUBLIC is granted SELECT access on these views, so that any user may read the dictionary information presented in the views. Many of the view definitions restrict the information presented to descriptions of objects and privileges accessible to the current user.
Note:If SYSADM reads the contents of such a view, the result shows only the objects and privileges to which SYSADM has access. In order to gain information on inaccessible objects and privileges, SYSADM must read the contents of the dictionary base tables directly.
The SYSADM ident may define installation-specific views on the data dictionary tables to supplement the system-defined views. Such views may be tailor-made for the installation or system in use, and SELECT access on the views may be granted to limited user groups if desired.
All maintenance of the data dictionary is performed by internal routines and is invisible to the user. No user, including SYSADM, may alter the contents of the data dictionary directly.
Note:Mimer reserves the right to change the internal organization of the data dictionary, without maintaining backward compatibility with user-written application programs which read the data dictionary tables directly.
Summary of Data Dictionary Tables
Table name |
Description |
---|---|
Translation of id to function or module name. |
|
Binary representation of the search condition of views in the database (for internal use). |
|
Textual representation of view definitions and tables and domains with check constraints. |
|
Attributes of user-defined types. |
|
Character sets in the database. |
|
Check constraints defined for tables and domains. |
|
Collation definitions. |
|
Character collations in the database. |
|
Columns that depend on other database objects. |
|
Instances of privileges granted on a column. |
|
Columns in tables or views. |
|
Comments on objects. |
|
Databanks in the database. |
|
Direct supertypes in the database. |
|
Constraints defined for domains. |
|
Domains in the database. |
|
Precompiled statements. |
|
Details about all FIPS features. |
|
Details about FIPS limits. |
|
Details about heuristics. |
|
Columns in an index or in a primary, unique or foreign key. |
|
Restrictions for domains legal for use by DB level 2. |
|
Columns of views acceptable by DB level 2. |
|
Restrictions for DB level 2. |
|
External libraries. |
|
OS_USER logins for user idents. |
|
Dummy table with more than one row. |
|
Translation of message code to message text. |
|
Method specification parameters. |
|
Method specifications. |
|
SQL-server modules in the database. |
|
(Currently not used.) |
|
(Currently not used.) |
|
(Currently not used.) |
|
(Currently not used.) |
|
(Currently not used.) |
|
Columns referenced by other database objects. |
|
Objects that have a dependency on another object. |
|
Information about predefined executable statements for table operations and routines. |
|
Objects in the database. |
|
Dummy table containing one row. |
|
Parameters of routines in the database. |
|
Referential constraints in the database. |
|
Procedures and user-defined functions in the database. |
|
Schemas in the database. |
|
Current values of sequences. |
|
Sequences in the database. |
|
Attributes of the current database system or server. |
|
Severity levels and optional module for error codes. |
|
Source definitions for defaults, check constraints, views, modules, procedures, functions and triggers. |
|
Specific names of the routines in the database. |
|
SQL functionality. |
|
SQL standards and SQL dialects supported. |
|
Compiled code for statements. |
|
Compiled routine used by precompiled statements. |
|
Synonyms and shadows in the database. |
|
Table constraints in the database. |
|
Instances of privileges granted on a table. |
|
The types of table supported. |
|
Tables and views in the database. |
|
Character translations in the database. |
|
Table columns explicitly specified in an UPDATE trigger event. |
|
Triggers in the database. |
|
Information about data types supported. |
|
Instances of privileges which grant the right to use a database object. |
|
User-defined types in the database. |
|
Idents (GROUP, PROGRAM or USER) in the database. |
|
Views in the database. |
Records translations of id to function or module name.
Column name |
Data type |
Description |
---|---|---|
MODULEID |
INTEGER |
System identifier for module. |
API_FUNCTION |
INTEGER |
System identifier for function. |
TEXT |
CHAR(40) |
Name of the function or module. |
Primary key: MODULEID, API_FUNCTION
Records the binary representation of the search condition of views in the database (for internal use).
Column name |
Data type |
Description |
---|---|---|
AST_SYSID |
INTEGER |
System identifier for the view. |
AST_VERSION |
INTEGER |
Current AST-revision version number. |
STRUCT_VERSION |
INTEGER |
Compiler version number. |
SEQUENCE_NO |
INTEGER |
Sequence number within representation. |
AST_LENGTH |
INTEGER |
Length of binary data in AST_CODE. |
AST_CODE |
VARCHAR(1200) |
Binary representation of the view search condition. |
Primary key: AST_SYSID, AST_VERSION, STRUCT_VERSION, SEQUENCE_NO
Records the textual representation of view definitions and domains or tables with check constraints in the database (for internal use).
Column name |
Data type |
Description |
---|---|---|
ASTS_SYSID |
INTEGER |
System identifier for the object which the definition represents. |
SEQUENCE_NO |
INTEGER |
Sequence number within representation. |
ASTS_LENGTH |
INTEGER |
Length of representation. |
ASTS_SOURCE |
NCHAR VARYING(400) |
Textual representation of view, domain or table. |
Primary key: ASTS_SYSID, SEQUENCE_NO
Records user-defined type attributes.
Column name |
Data type |
Description |
---|---|---|
UDT_SYSID |
INTEGER |
System identifier for the user-defined type, to which the attribute belongs. |
ATTRIBUTE_ID |
INTEGER |
System identifier for the attribute. |
ATTRIBUTE_NAME |
NCHAR_VARYING(128) |
Attribute name. |
ORDINAL_POSITION |
INTEGER |
The ordinal position of the attribute in the user-defined type. The first attribute is number 1. |
COLLATION_SYSID |
INTEGER |
System identifier for the collation used by the attribute. |
CHARSET_SYSID |
INTEGER |
System identifier for the attribute’s character set. |
ATTRIBUTE_UDT_SYSID |
INTEGER |
System identifier for the attribute’s data type, if user-defined type. |
DATA_TYPE |
VARCHAR(30) |
The data type of the attribute. Can be one of the following: |
INTERVAL_TYPE |
VARCHAR(30) |
For INTERVAL data types, this is a character string specifying the interval qualifier for the named interval data type, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier for data type. |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
This defines the total number of significant digits to the right of the decimal point. For INTEGER and SMALLINT, this is 0. For CHARACTER, VARCHAR, DATETIME, FLOAT, INTERVAL, REAL and DOUBLE PRECISION data types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For numeric data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and INTERVAL data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_OFFSET |
INTEGER |
Internal offset for attribute in type. |
IS_NULLABLE |
BOOLEAN |
Nullability attribute |
OBSERVER_METHOD |
INTEGER |
System identifier for observer method for attribute. |
MUTATOR_METHOD |
INTEGER |
System identifier for mutator method for attribute. |
OBSERVER_METHOD_ |
INTEGER |
System identifier for observer method specification for attribute. |
MUTATOR_METHOD_ |
INTEGER |
System identifier for mutator method specification for attribute. |
INTERNAL_LENGTH |
INTEGER |
Internal length in bytes of attribute. |
AS_LOCATOR |
BOOLEAN |
One of: |
Primary key: UDT_SYSID, ATTRIBUTE_ID
Unique constraint: UDT_SYSID, ORDINAL_POSITION
Unique constraint: UDT_SYSID, ATTRIBUTE_NAME
Records character sets in the database.
Column name |
Data type |
Description |
---|---|---|
CHARSET_SYSID |
INTEGER |
The system identifier for the character set. |
FORM_OF_USE |
VARCHAR(128) |
A user-defined name that indicates the form-of-use of the character set. |
NUMBER_OF_CHARS |
INTEGER |
Number of characters in the character set. |
DEF_COLLATE_SYSID |
INTEGER |
System identifier for the character collation. |
Primary key: CHARSET_SYSID
Records check constraints defined for tables and domains in the database.
Column name |
Data type |
Description |
---|---|---|
CONSTRAINT_SYSID |
INTEGER |
System identifier for the check constraint. |
CHECK_CLAUSE |
NCHAR VARYING(200) |
The text of the search condition of the check constraint. If the text is too long or null value, it will be stored in the SOURCE_DEFINITION table. |
Primary key: CONSTRAINT_SYSID
Records collation definitions in the database.
Column name |
Data type |
Description |
---|---|---|
COLLATION_SYSID |
INTEGER |
System identifier for the collation. |
COLLATION_SEQNO |
INTEGER |
Sequence number for each row of a definition (starts by 1). |
COLLATION_TYPE |
INTEGER |
Internal identification for the base of the collation. |
FROM_COLLATION_SYSID |
INTEGER |
System identifier for the collation on which this collation is based. |
COLLATION_DEF_CHAR_LENGTH |
INTEGER |
Total length of the collation definition in number of characters. |
COLLATION_DEF_CHAR_OFFSET |
INTEGER |
Offset to where the delta string for this collation starts in the definition. |
COLLATION_DEF |
NCHAR VARYING(400) |
Complete collation definition for this collation (i.e. including the base collation). |
Primary key: COLLATION_SYSID, COLLATION_SEQNO
Records character collations in the database.
Column name |
Data type |
Description |
---|---|---|
COLLATION_SYSID |
INTEGER |
System identifier for the collation. |
CHARSET_SYSID |
INTEGER |
System identifier for the character set. |
PAD_ATTRIBUTE |
VARCHAR(20) |
One of the following values: |
Primary key: COLLATION_SYSID
Records table and view columns in the database.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier for the table or view. |
COLUMN_ID |
INTEGER |
Column identifier. |
COLUMN_NAME |
NCHAR VARYING(128) |
The name of the table or view column. |
ORDINAL_POSITION |
INTEGER |
The ordinal position of the column in the table. The first column in the table is number 1. |
DOMAIN_SYSID |
INTEGER |
System identifier for the domain used by the column. |
COLLATION_SYSID |
INTEGER |
System identifier for the collation used by the column. |
DATA_TYPE |
VARCHAR(30) |
Identifies the data type of the column. |
INTERVAL_TYPE |
VARCHAR(30) |
For INTERVAL data types, this is a character string specifying the interval qualifier for the named interval data type, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier for the internal data type. |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
For NUMERIC data types, this shows the total number of significant digits to the right of the decimal point. For INTEGER values this is 0. For all other types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For NUMERIC data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and interval data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
IS_NULLABLE |
BOOLEAN |
One of: |
IS_UPDATABLE |
BOOLEAN |
One of: |
IS_INSTEAD_OF |
BOOLEAN |
One of: |
INTERNAL_LENGTH |
INTEGER |
Internal length in bytes of value. |
INTERNAL_INDEX |
INTEGER |
Internal index for value in record. |
INTERNAL_OFFSET |
INTEGER |
Internal offset for value in record. |
INTERNAL_VC_OFFSET |
INTEGER |
Internal offset for field containing actual length for a varying length item. |
CHARSET_SYSID |
INTEGER |
System identifier for the character set used by the column. |
UDT_SYSID |
INTEGER |
System identifier for a user-defined type. |
COLUMN_CARD |
BIGINT |
Number of unique values in column. |
COLUMN_CARD_NONULL |
BIGINT |
Number of values in column that are not null. |
COLUMN_LOW_VALUE |
BINARY(16) |
Lowest value in column. |
COLUMN_HIGH_VALUE |
BINARY(16) |
Highest value in column. |
COLUMN_DEFAULT |
NCHAR VARYING(200) |
This shows the default value for the column. If the default value is a CHARACTER string, the value shown is the string enclosed in single quotes. If the default value is a NUMERIC LITERAL, the value is shown in its original character representation without enclosing quotes. If the default value is a DATE, TIME or TIMESTAMP, the value shown is the appropriate keyword (e.g. DATE) followed by the literal representation of the value enclosed in single quotes, see the Mimer SQL Reference Manual for a description of DATE, TIME and TIMESTAMP literals). If the default value is a pseudo-literal, the value shown is the appropriate keyword (e.g. CURRENT_DATE) without enclosing quotes. If the default value is the null value, the value shown is the keyword NULL without enclosing quotes. If the default value cannot be represented without truncation, then a zero-length string is stored. If no default value was specified then its value is the null value. The value of COLUMN_DEF is syntactically suitable for use in specifying default-value in a CREATE TABLE or ALTER TABLE statement. |
Primary key: TABLE_SYSID, COLUMN_ID
Unique constraint: COLUMN_NAME, TABLE_SYSID
Unique constraint: TABLE_SYSID, ORDINAL_POSITION
Secondary index: TABLE_SYSID, INTERNAL_INDEX, INTERNAL_OFFSET
Records table or view columns that depend on other objects in the database.
.
Column name |
Data type |
Description |
---|---|---|
OBJECT_SYSID |
INTEGER |
System identifier for the object on which the column depends. |
TABLE_SYSID |
INTEGER |
System identifier for the table or view. |
COLUMN_ID |
INTEGER |
Id for the column. |
Primary key: OBJECT_SYSID, TABLE_SYSID, COLUMN_ID
Secondary index: TABLE_SYSID, COLUMN_ID
Records instances of privileges granted on a column.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier for the table or view. |
COLUMN_ID |
INTEGER |
The id of the table or view column. |
PRIVILEGE_TYPE |
VARCHAR(20) |
One of: |
GRANTEE_SYSID |
INTEGER |
The sysid of the ident to whom the privilege was granted. |
GRANTOR_SYSID |
INTEGER |
The sysid of the ident granting the privilege. |
IS_GRANTABLE |
BOOLEAN |
One of: |
IS_INSTEAD_OF |
BOOLEAN |
One of: |
Primary key: TABLE_SYSID, COLUMN_ID, PRIVILEGE_TYPE, GRANTEE_SYSID, GRANTOR_SYSID
Secondary index: GRANTEE_SYSID
Secondary index: GRANTOR_SYSID
Comments on objects in the database.
Column name |
Data type |
Description |
---|---|---|
OBJECT_SYSID |
INTEGER |
System identifier for object. |
COLUMN_ID |
INTEGER |
Column ordinal position, 0 if comment is not on column. |
COMMENT |
NCHAR VARYING(254) |
Comment. |
Primary key: OBJECT_SYSID, COLUMN_ID
Records the databanks in the database.
Column name |
Data type |
Description |
---|---|---|
DATABANK_SYSID |
INTEGER |
System identifier for the databank. |
DATABANK_SEQNO |
INTEGER |
The shadowing sequence number for the databank. |
DATABANK_FILENO |
INTEGER |
The file number of the databank file. |
DATABANK_NAME |
NCHAR VARYING(128) |
The name of the databank. |
SHADOW_NAME |
NCHAR VARYING(128) |
The shadow name if the databank is a shadow. |
DATABANK_FILENAME |
NCHAR VARYING(256) |
The path name for the databank file. |
DATABANK_TYPE |
VARCHAR(20) |
Indicates type of transaction handling: |
IS_MASTER |
BOOLEAN |
One of: |
IS_ONLINE |
BOOLEAN |
One of: |
LOBDIR_SYSID |
INTEGER |
System identifier for the large object directory in the databank. |
LOBDATA_SYSID |
INTEGER |
System identifier for the large object table in the databank |
MAXSIZE |
BIGINT |
Maximum size for databank file, kilo bytes |
GOALSIZE |
BIGINT |
Ideal size for databank file, kilo bytes |
MINSIZE |
BIGINT |
Minimum size for databank file, kilo bytes |
IS_REMOVABLE |
BOOLEAN |
One of: |
BACKUPED |
TIMESTAMP(2) |
Last date for backup, currently always set to null |
SEQTABLE_SYSID |
INTEGER |
System id for the sequence table. Null if no sequence in databank. |
Primary key: DATABANK_SYSID, DATABANK_SEQNO, DATABANK_FILENO
Unique constraint: SHADOW_NAME, DATABANK_FILENO
Secondary index: DATABANK_NAME, DATABANK_SEQNO
Contains information about inheritance relation between user-defined types. (Currently not used.)
Column name |
Data type |
Description |
---|---|---|
UDT_SYSID |
INTEGER |
System identifier for the user-defined type. |
UDT_SUPERTYPE_SYSID |
INTEGER |
System identifier for user-defined type used in inheritance. |
Primary key: UDT_SYSID, UDT_SUPERTYPE_SYSID
Secondary index: UDT_SUPERTYPE_SYSID
Records the domains in the database.
Column name |
Data type |
Description |
---|---|---|
DOMAIN_SYSID |
INTEGER |
System identifier for the domain. |
COLLATION_SYSID |
INTEGER |
System identifier for the collation for a domain associated with a character set. |
CHARSET_SYSID |
INTEGER |
System identifier for the character set. |
DATA_TYPE |
VARCHAR(30) |
Identifies the data type of the domain. |
INTERVAL_TYPE |
VARCHAR(30) |
For INTERVAL data types, this is a character string specifying the interval qualifier for the named interval data type, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier for the internal data type. |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
This defines the total number of significant digits to the right of the decimal point. For INTEGER and SMALLINT, this is 0. For CHARACTER, VARCHAR, DATETIME, FLOAT, INTERVAL, REAL and DOUBLE PRECISION data types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For NUMERIC data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and interval data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_LENGTH |
INTEGER |
Internal length in bytes of value. |
DOMAIN_DEFAULT |
NCHAR VARYING(200) |
This shows the default value for the domain. If the default value is a character string, the value shown is the string enclosed in single quotes. If the default value is a numeric literal, the value is shown in its original character representation without enclosing quotes. If the default value is a DATE, TIME or TIMESTAMP, the value shown is the appropriate keyword (e.g. DATE) followed by the literal representation of the value enclosed in single quotes, see Mimer SQL Reference Manual for a description of DATE, TIME and TIMESTAMP literals. If the default value is a pseudo-literal, the value shown is the appropriate keyword (e.g. CURRENT_DATE) without enclosing quotes. If the default value is the null value, the value shown is the keyword NULL without enclosing quotes. If the default value cannot be represented without truncation, then a zero-length string is stored. If no default value was specified then its value is the null value. The value of DOMAIN_DEFAULT is syntactically suitable for use in specifying default-value in a CREATE TABLE or ALTER TABLE statement. |
ANY_CONSTRAINT |
BOOLEAN |
One of: |
IS_LEVEL2_APPROVED |
BOOLEAN |
One of: |
Primary key: DOMAIN_SYSID
Records the constraints defined for domains in the database.
.
Column name |
Data type |
Description |
---|---|---|
DOMAIN_SYSID |
INTEGER |
System identifier for the domain. |
CONSTRAINT_SYSID |
INTEGER |
System identifier for the constraint. |
IS_DEFERRABLE |
BOOLEAN |
One of: |
INITIALLY_DEFERRED |
BOOLEAN |
One of: |
Primary key: DOMAIN_SYSID, CONSTRAINT_SYSID
Secondary index: CONSTRAINT_SYSID
Records precompiled statements in the database.
Column name |
Data type |
Description |
---|---|---|
STATEMENT_SYSID |
INTEGER |
System identifier for the precompiled statement. |
STATEMENT_TYPE |
INTEGER |
Type of statement (internal value). |
STATEMENT_SOU_LENGTH |
INTEGER |
Length of source text in characters. |
STATEMENT_SOURCE |
NCHAR VARYING(200) |
Source text for the precompiled statement. If the length exceeds 200 characters, this value is null and the source text is stored in SOURCE_DEFINITION. |
INLINE |
BOOLEAN |
One of: |
Primary key: STATEMENT_SYSID
Lists details of all FIPS features.
Column name |
Data type |
Description |
---|---|---|
FEATURE_ID |
SMALLINT |
Identification number of the FIPS feature. |
FEATURE_NAME |
VARCHAR(50) |
The name of the FIPS feature. |
CLASSIFICATION |
VARCHAR(12) |
The conformance level of the feature. |
IS_SUPPORTED |
BOOLEAN |
One of: |
IS_VERIFIED |
BOOLEAN |
One of: |
FEATURE_COMMENTS |
VARCHAR(100) |
Comments about the feature. |
Primary key: FEATURE_ID
Lists details about FIPS limits.
Column name |
Data type |
Description |
---|---|---|
SIZING_ID |
SMALLINT |
Identification number for limit. |
DESCRIPTION |
VARCHAR(50) |
Description of limit. |
ENTRY_VALUE |
INTEGER |
Limit for entry SQL. |
INTERMEDIATE_VALUE |
INTEGER |
Limit for intermediate SQL. |
VALUE_SUPPORTED |
INTEGER |
Limit for Mimer SQL. |
SIZING_COMMENTS |
VARCHAR(100) |
Comments for limit. |
Primary key: SIZING_ID
Holds information about distributed transactions.
Column name |
Data type |
Description |
---|---|---|
COMMIT_ID |
BINARY(128) |
|
HEURISTIC_OPCODE |
INTEGER |
|
COMMIT_PROTOCOL |
INTEGER |
|
FORMAT_ID |
INTEGER |
|
GTRID_LENGTH |
INTEGER |
|
BQUAL_LENGTH |
INTEGER |
|
Primary key: COMMIT_ID
Records columns in an index or in a primary, unique or foreign key.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier for the table. |
CONSTRAINT_SYSID |
INTEGER |
System identifier for the table constraint. |
ORDINAL_POSITION |
INTEGER |
The ordinal position of the column in the table. The first column in the table is number 1. |
COLUMN_ID |
INTEGER |
The id of the table column. |
KEY_TYPE |
VARCHAR(20) |
One of: |
IS_UNIQUE |
BOOLEAN |
One of: |
IS_ASCENDING |
BOOLEAN |
One of: FALSE = the column is indexed in descending value order |
COLLATION_SYSID |
INTEGER |
System identifier for the collation used by the index. |
INDEX_ALGORITHM |
VARCHAR(20) |
Algorithm used when creating index. |
ATTRIBUTE_SYSID |
INTEGER |
System identifier for user-defined type if index defined on attribute in structured type. |
ATTRIBUTE_NUMBER |
INTEGER |
Ordinal position for attribute within user defined structured type. |
ATTRIBUTE_OFFSET |
INTEGER |
Offset for attribute within user-defined type. |
INTERNAL_TYPE |
INTEGER |
Data type for index column. |
SIZE |
INTEGER |
Precision of index column data type. |
SCALE |
INTEGER |
Scale for index column data type. |
Primary key: TABLE_SYSID, CONSTRAINT_SYSID, ORDINAL_POSITION
Unique constraint: CONSTRAINT_SYSID, COLUMN_ID
Records restrictions for domains legal for use by Level 2.
Column name |
Data type |
Description |
---|---|---|
DOMAINID |
INTEGER |
System identifier for the domain with restrictions. |
SEQNO |
SMALLINT |
Restriction order number. |
LOGOP |
CHAR(3) |
Logical operator (AND, OR). |
RELOP |
CHAR(2) |
Relational operator (EQ, …). |
LENGTH |
SMALLINT |
Length of the value. |
RESVALUE |
VARCHAR(64) |
Restriction value. |
Primary key: DOMAINID, SEQNO
Records columns of views acceptable by DB level 2.
Column name |
Data type |
Description |
---|---|---|
VTABID |
INTEGER |
View table identifier. |
VCOLNO |
SMALLINT |
View table column number. |
BTABID |
INTEGER |
Base table identifier. |
BCOLNO |
SMALLINT |
Base table column number. |
Primary key: VTABID, VCOLNO
Records restrictions for DB level 2.
Column name |
Data type |
Description |
---|---|---|
VTABID |
INTEGER |
View table identifier. |
SEQNO |
SMALLINT |
Restriction order number. |
LOGOP |
CHAR(3) |
Logical operator (AND, OR). |
BTABID |
INTEGER |
Base table identifier. |
BCOLNO |
SMALLINT |
Base table column number. |
RELOP |
CHAR(2) |
Relational operator (EQ, …). |
LENGTH |
SMALLINT |
Length of the value. |
RESVALUE |
VARCHAR(64) |
Restriction value. |
Primary key: VTABID, SEQNO
Records external libraries.
Column name |
Data type |
Description |
---|---|---|
LIBRARY_SYSID |
INTEGER |
System identifier for external library. |
LIBRARY_FILENAME |
NCHAR VARYING(256) |
File name for external library. |
Primary key: LIBRARY_SYSID
Secondary index: LIBRARY_FILENAME
Records OS_USER logins for user idents.
Column name |
Data type |
Description |
---|---|---|
USER_LOGIN |
NCHAR VARYING(128) |
OS_USER name. |
USER_SYSID |
INTEGER |
System identifier for the ident. |
Primary key: USER_LOGIN, USER_SYSID
Secondary index: USER_SYSID
Dummy table with more than one row.
Column name |
Data type |
Description |
---|---|---|
C |
SMALLINT |
The values column. |
Primary key: C
Records translations of message codes to message text.
Column name |
Data type |
Description |
---|---|---|
MODULEID |
INTEGER |
Identification number for Mimer SQL module to which error belongs. |
MESSAGEID |
INTEGER |
Identification number for message |
LANGUAGE |
INTEGER |
Language number for message |
LINENO |
INTEGER |
Line number for message. |
MESSAGE |
VARCHAR(80) |
Message text. |
Primary key: MODULEID, MESSAGEID, LANGUAGE, LINENO
SYSTEM.METHOD_SPECIFICATION_PARAMETERS
Records parameters to method specifications.
Column name |
Data type |
Description |
---|---|---|
METHOD_SYSID |
INTEGER |
System identifier for the method specification. |
ORDINAL_POSITION |
INTEGER |
The ordinal position of the parameter in the method specification. The first parameter is number 1. |
PARAMETER_NAME |
NCHAR VARYING(128) |
The name of the parameter. |
PARAMETER_MODE |
CHAR(5) |
One of: |
IS_RESULT |
BOOLEAN |
One of |
UDT_SYSID |
INTEGER |
System identifier for the parameter’s type, if it’s a user-defined type. |
COLLATION_SYSID |
INTEGER |
System identifier of the collation associated with the parameter. |
CHARSET_SYSID |
INTEGER |
The system identifier for the character set. |
DATA_TYPE |
VARCHAR(30) |
The data type of the parameter. Can be one of the following: |
INTERVAL_TYPE |
CHAR(30) |
For INTERVAL data types, this is a character string specifying the interval qualifier for the named interval data type, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier for the internal data type. |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
This defines the total number of significant digits to the right of the decimal point. For INTEGER and SMALLINT, this is 0. For CHARACTER, VARCHAR, DATETIME, FLOAT, INTERVAL, REAL and DOUBLE PRECISION data types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For numeric data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and INTERVAL data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
AS_LOCATOR |
BOOLEAN |
One of: |
INTERNAL_LENGTH |
INTEGER |
Internal length. |
DOMAIN_SYSID |
INTEGER |
System identifier for domain, when a domain is used as the type for a parameter in a method specification. |
Primary key: METHOD_SYSID, ORDINAL_POSITION
Unique constraint: METHOD_SYSID, PARAMETER_NAME
Records method specifications.
Column name |
Data type |
Description |
---|---|---|
METHOD_SYSID |
INTEGER |
System identifier for the method specification. |
UDT_SYSID |
INTEGER |
System identifier for user-defined type, to which the method is specified. |
IS_STATIC |
BOOLEAN |
One of |
IS_OVERRIDING |
BOOLEAN |
One of |
IS_CONSTRUCTOR |
BOOLEAN |
One of |
IS_DETERMINISTIC |
BOOLEAN |
One of: |
IS_NULL_CALL |
BOOLEAN |
One of: (currently not used) |
SQL_DATA_ACCESS |
VARCHAR(20) |
One of: |
METHOD_LANGUAGE |
VARCHAR(20) |
Language used for method. One of: (currently not used) |
PARAMETER_STYLE |
VARCHAR(20) |
The parameter passing style of the routine if it is an external routine, otherwise the null value is shown. |
RESULT_UDT_SYSID |
INTEGER |
System identifier for the result data type, if it’s a user-defined type. |
COLLATION_SYSID |
INTEGER |
System identifier of the collation associated with the result. |
CHARSET_SYSID |
INTEGER |
The system identifier for the character set. |
DATA_TYPE |
VARCHAR(30) |
The data type of the result. Can be one of the following: |
INTERVAL_TYPE |
VARCHAR(30) |
For INTERVAL data types, this is a character string specifying the interval qualifier for the named interval data type, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier for the internal data type. |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
This defines the total number of significant digits to the right of the decimal point. For INTEGER and SMALLINT, this is 0. For CHARACTER, VARCHAR, DATETIME, FLOAT, INTERVAL, REAL and DOUBLE PRECISION data types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For numeric data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and INTERVAL data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
TOTAL_PARAMS |
INTEGER |
The number of parameters. (Described in SYSTEM.METHOD_SPECIFICATION_PARAMETERS.) |
AS_LOCATOR |
BOOLEAN |
One of: |
INTERNAL_LENGTH |
INTEGER |
Internal length. |
SELF_AS_RESULT |
BOOLEAN |
One of: |
DOMAIN_SYSID |
INTEGER |
System identifier for domain, when a domain is used as the return type for a method. |
Primary key: METHOD_SYSID
Secondary index: UDT_SYSID
Records the SQL-server modules in the database.
Column name |
Data type |
Description |
---|---|---|
MODULE_SYSID |
INTEGER |
System identifier for the module. |
DEF_CHARSET_SYSID |
INTEGER |
System identifier for the default character set for the module. |
DEF_SCHEMA_SYSID |
INTEGER |
System identifier for the default schema for the module. |
MODULE_LENGTH |
INTEGER |
Length of the module definition. |
MODULE_DEFINITION |
NCHAR VARYING(200) |
Source text for module definition, if the length of the module definition exceeds 200 characters, this value is null and the source text is stored in SOURCE_DEFINITION. |
Primary key: MODULE_SYSID
Contains information about Mimer Nano databanks. (Currently not used.)
Contains information about Mimer Nano descriptors. (Currently not used.)
Contains information about Mimer Nano objects. (Currently not used.)
Contains information about Mimer Nano routine usage. (Currently not used.)
Contains information about Mimer Nano databanks. (Currently not used.)
Records columns referenced by other database objects.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier for the table. |
COLUMN_ID |
INTEGER |
The id of the table column. |
USED_BY_SYSID |
INTEGER |
The system identifier of the referencing object. |
USED_BY_TYPE |
VARCHAR(20) |
One of: |
PRIVILEGE_TYPE |
VARCHAR(20) |
One of: |
Primary key: TABLE_SYSID, COLUMN_ID, USED_BY_SYSID, USED_BY_TYPE, PRIVILEGE_TYPE
Secondary index: USED_BY_SYSID
Records objects referenced by other objects.
Column name |
Data type |
Description |
---|---|---|
OBJECT_SYSID |
INTEGER |
System identifier for the object used. |
USED_BY_SYSID |
INTEGER |
The system identifier of the referencing object. |
IS_STRONG |
BOOLEAN |
Determines if a dependent object will be dropped when dropping the object on which this object depends. One of: TRUE = the object will only be dropped if cascade is specified. |
OBJECT_TYPE |
VARCHAR(20) |
One of: |
USED_BY_TYPE |
VARCHAR(20) |
One of: |
Primary key: OBJECT_SYSID, USED_BY_SYSID
Secondary index: USED_BY_SYSID
Contains information about predefined executable statements for table operations and routines.
Column name |
Data type |
Description |
---|---|---|
OBJECT_SYSID |
INTEGER |
System identifier for object. |
OPERATION |
VARCHAR(20) |
Type of operation, one of: |
STATEMENT_SYSID |
INTEGER |
System identifier for executable statement. |
Primary key: OBJECT_SYSID, OPERATION
Secondary index: STATEMENT_SYSID
Records objects in the database.
Column name |
Data type |
Description |
---|---|---|
OBJECT_SYSID |
INTEGER |
System identifier for the database object. |
OBJECT_TYPE |
VARCHAR(20) |
One of: |
OBJECT_SCHEMA |
NCHAR VARYING(128) |
The name of the schema containing the object. |
OBJECT_NAME |
NCHAR VARYING(128) |
The name of the object. |
OBJECT_CREATED |
TIMESTAMP(2) |
The date and time the object was created. |
OBJECT_ALTERED |
TIMESTAMP(2) |
The date and time the object was last altered. |
IS_IMPLICIT |
BOOLEAN |
One of: |
SPECIFIC_SYSID |
INTEGER |
Specific id for overloaded routines. |
COMPATIBILITY |
INTEGER |
Indicates which compatibility mode was set when the object was created. |
LAST_DEPENDENCY_SYSID |
INTEGER |
Upper limit for scope when resolving object references in routines and triggers. |
Primary key: OBJECT_SYSID
Unique constraint: OBJECT_TYPE, OBJECT_SCHEMA, OBJECT_NAME, SPECIFIC_SYSID
Dummy table containing one row.
Column name |
Data type |
Description |
---|---|---|
M |
CHAR(1) |
Contains the value M. |
Primary key: M
Records parameters of routines in the database.
Column name |
Data type |
Description |
---|---|---|
ROUTINE_SYSID |
INTEGER |
System identifier for the function or procedure. |
ORDINAL_POSITION |
INTEGER |
The ordinal position of the parameter in the routine. The first parameter in the routine is number 1. |
IS_RETURN |
BOOLEAN |
For a type preserving method this column indicates whether the parameter is type preserving or not. One of |
PARAMETER_MODE |
CHAR(5) |
One of: |
PARAMETER_NAME |
NCHAR VARYING(128) |
The name of the parameter. |
DOMAIN_SYSID |
INTEGER |
System identifier of the domain that defines the data type of the parameter. |
COLLATION_SYSID |
INTEGER |
System identifier of the collation associated with the parameter. |
CHARSET_SYSID |
INTEGER |
The system identifier for the character set. |
UDT_SYSID |
INTEGER |
System identifier for a user-defined type. |
DATA_TYPE |
CHAR(30) |
The data type of the parameter. Can be one of the following: |
INTERVAL_TYPE |
CHAR(30) |
For INTERVAL data types, this is a character string specifying the interval qualifier for the named interval data type, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier for the internal data type. |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
This defines the total number of significant digits to the right of the decimal point. For INTEGER and SMALLINT, this is 0. For CHARACTER, VARCHAR, DATETIME, FLOAT, INTERVAL, REAL and DOUBLE PRECISION data types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For numeric data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and INTERVAL data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
AS_LOCATOR |
BOOLEAN |
One of: FALSE = not locator |
INTERNAL_LENGTH |
INTEGER |
Internal length. |
IS_RESULT |
BOOLEAN |
One of: |
Primary key: ROUTINE_SYSID, ORDINAL_POSITION, IS_RETURN
Records referential constraints in the database.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier for the table. |
CONSTRAINT_SYSID |
INTEGER |
System identifier for the referential constraint. |
UNIQUE_TABLE_SYSID |
INTEGER |
System identifier for the table that is referenced in the foreign key. |
UNIQUE_CONST_SYSID |
INTEGER |
System identifier for the constraint that is (implicitly) referenced in the foreign key. |
IS_CONSISTENT |
BOOLEAN |
Indicates if the foreign key constraint is consistent. One of: A foreign key constraint will be marked as inconsistent if the system databank transdb is dropped or if the databank in which the referenced or referencing table is located is set to work option. |
MATCH_OPTION |
VARCHAR(20) |
One of: |
UPDATE_RULE |
VARCHAR(20) |
One of: |
DELETE_RULE |
VARCHAR(20) |
One of: |
Primary key: TABLE_SYSID, CONSTRAINT_SYSID
Secondary index: UNIQUE_TABLE_SYSID, UNIQUE_CONST_SYSID
Secondary index: CONSTRAINT_SYSID
Secondary index: UNIQUE_CONST_SYSID
Records procedures and user-defined functions in the database.
Column name |
Data type |
Description |
---|---|---|
ROUTINE_SYSID |
INTEGER |
System identifier of the function or procedure. |
MODULE_SYSID |
INTEGER |
System identifier of the module to which the routine belongs. |
ROUTINE_TYPE |
VARCHAR(20) |
One of: |
SQL_DATA_ACCESS |
VARCHAR(20) |
One of: |
ROUTINE_OFFSET |
INTEGER |
Offset for routine within module definition. This value is zero if the routine ins not defined in a module. |
ROUTINE_LENGTH |
INTEGER |
Length of routine definition |
TOTAL_PARAMS |
INTEGER |
The total number of routine parameters. |
RESULT_PARAMS |
INTEGER |
The number of result parameters. |
INPUT_PARAMS |
INTEGER |
The number of input parameters. |
OUTPUT_PARAMS |
INTEGER |
The number of output parameters. |
ROUTINE_DEFINITION |
NCHAR VARYING(200) |
Routine definition. If the length of the routine definition exceeds 200 characters, this value is null and the source text is stored in SOURCE_DEFINITION. |
IS_DETERMINISTIC |
BOOLEAN |
One of: |
ROUTINE_BODY |
VARCHAR(20) |
One of: |
EXTERNAL_NAME |
NCHAR VARYING(128) |
The name of the program that implements the routine if it is an external routine otherwise null. |
EXTERNAL_LANGUAGE |
VARCHAR(20) |
The language for the routine if it is external otherwise null. |
PARAMETER_STYLE |
VARCHAR(20) |
The parameter passing style for the routine if it is an external routine, otherwise null. |
SCHEMA_LEVEL_ROU |
BOOLEAN |
One of: |
MX_DYN_RESULT_SETS |
INTEGER |
The maximal number of result sets that the routine may return. |
UDT_SYSID |
INTEGER |
System identifier for user-defined type, if routine is a method. |
IS_USER_DEFINED_CAST |
BOOLEAN |
(currently not used) |
IS_IMPLICITLY_INVOCABLE |
BOOLEAN |
(currently not used) |
MS_SYSID |
INTEGER |
(currently not used) |
IS_NULL_CALL |
BOOLEAN |
One of: |
OVERRIDING_SYSID |
INTEGER |
System identifier for original method specification. |
ROUTINE_HEADER_OFFSET |
INTEGER |
Offset for routine header in source definition. |
ROUTINE_HEADER_LENGTH |
INTEGER |
Length of routine header. |
ROUTINE_RETURNS_OFFSET |
INTEGER |
Offset for returns clause in source definition. |
ROUTINE_RETURNS_LENGTH |
INTEGER |
Length of return clause. |
ROUTINE_SPECIFIC_OFFSET |
INTEGER |
Offset for specific clause in source definition. |
ROUTINE_SPECIFIC_LENGTH |
INTEGER |
Length of specific clause. |
ROUTINE_EXTERNAL_OFFSET |
INTEGER |
Offset for external clause in source definition. |
ROUTINE_EXTERNAL_LENGTH |
INTEGER |
Length of external clause. |
ROUTINE_BODY_OFFSET |
INTEGER |
Offset for routine body in source definition. |
ROUTINE_BODY_LENGTH |
INTEGER |
Length of routine body. |
LIBRARY_SYSID |
INTEGER |
System identifier for external library. |
ROUTINES_IS_INVOKED_ |
BOOLEAN |
The column indicates whether a function or method should be invoked multiple times or only once within a statement. |
Primary key: ROUTINE_SYSID
Secondary index: LIBRARY_SYSID
Secondary index: MODULE_SYSID
Secondary index: OVERRIDING_SYSID
Unique constraint: MS_SYSID
Records schemas in the database.
Column name |
Data type |
Description |
---|---|---|
SCHEMA_SYSID |
INTEGER |
System identifier of the schema. |
DEF_CHARSET_SYSID |
INTEGER |
System identifier of the default character set. |
Primary key: SCHEMA_SYSID
Stores information about sequences.
Column name |
Data type |
Description |
---|---|---|
SEQ_SYSID |
INTEGER |
System identifier of the sequence. |
CURRENT_VALUE |
BIGINT |
Current value for sequence. |
CYCLES |
BIGINT |
Number of times the sequence has reached its maximum value. |
IS_EXHAUSTED |
INTEGER |
Indicates whether a unique sequences has reached its maximum value. One of: |
Primary key: SEQ_SYSID
Records sequences in the database.
Column name |
Data type |
Description |
---|---|---|
SEQUENCE_SYSID |
INTEGER |
System identifier of the sequence. |
DATA_TYPE |
VARCHAR(30) |
One of: |
INTERNAL_TYPE |
INTEGER |
System identifier of internal data type. |
NUMERIC_PRECISION |
INTEGER |
Precision for data type. |
MAXIMUM_VALUE |
BIGINT |
The maximum value of the sequence. |
MINIMUM_VALUE |
BIGINT |
The minimum value of the sequence. |
INCREMENT |
BIGINT |
The increment value for sequence. |
CYCLE_OPTION |
BOOLEAN |
One of: |
START_VALUE |
BIGINT |
Start value for sequence when first used. |
CURRENT_VALUE |
BIGINT |
Start value at system start up. |
IS_EXHAUSTED |
BOOLEAN |
One of: |
CYCLES |
BIGINT |
Number of times the maximum value of the sequence is exceeded. |
FLUSH_RATE |
BIGINT |
Number of sequence value allocations between saving sequence data to disk. |
DATABANK_SYSID |
INTEGER |
Databank location. |
INTERNAL_LENGTH |
INTEGER |
Internal length. |
Primary key: SEQUENCE_SYSID
Records attributes of the current database system or server.
Column name |
Data type |
Description |
---|---|---|
SERVER_ATTRIBUTE |
VARCHAR(100) |
One of: |
ATTRIBUTE_VALUE |
VARCHAR(100) |
The value for the attribute. |
Primary key: SERVER_ATTRIBUTE
Records severity levels and optional module for error codes.
Column name |
Data type |
Description |
---|---|---|
MODULEID |
INTEGER |
Identification number for the Mimer SQL module to which the message belongs. |
MESSAGEID |
INTEGER |
Identification number for message. |
SEVERITY |
INTEGER |
Severity for message: |
MODULE |
VARCHAR(20) |
Name of Mimer SQL module to which the message belongs. |
SQLSTATE_VALUE |
CHAR(5) |
Corresponding SQLSTATE value for message. |
CLASS_ORIGIN |
VARCHAR(20) |
Class origin for the SQLSTATE value. |
SUBCLASS_ORIGIN |
VARCHAR(20) |
Sub class origin for the SQLSTATE value. |
Primary key: MODULEID, MESSAGEID
Records source definitions for defaults, check constraints, views, modules, procedures, functions, triggers and statements.
Column name |
Data type |
Description |
---|---|---|
SOURCE_SYSID |
INTEGER |
System identifier of the source definition. |
COLUMN_ID |
INTEGER |
Column id if the source types is a default value for a column. Null otherwise. |
SOURCE_TYPE |
VARCHAR(20) |
One of: |
SEQUENCE_NO |
INTEGER |
Sequence number in source definition. |
SOURCE_LENGTH |
INTEGER |
The length of the stored source text. |
SOURCE_DEFINITION |
NCHAR VARYING(400) |
The stored source text. |
Primary key: SOURCE_SYSID, COLUMN_ID, SOURCE_TYPE, SEQUENCE_NO
Records specific names of the routines in the database.
Column name |
Data type |
Description |
---|---|---|
ROUTINE_SYSID |
INTEGER |
System identifier of the routine. |
SPECIFIC_SCHEMA |
NCHAR VARYING(128) |
The name of the schema containing the routine. |
SPECIFIC_NAME |
NCHAR VARYING(128) |
The specific name for the routine. |
UDT_SYSID |
INTEGER |
System identifier for user-defined type if routine is a method. |
Primary key: ROUTINE_SYSID
Unique constraint: SPECIFIC_SCHEMA, SPECIFIC_NAME
The SQL_CONFORMANCE base table has one row for each conformance element identified by ISO/IEC 9075.
Column name |
Data type |
Description |
---|---|---|
CONFORMANCE_ID |
VARCHAR(20) |
Identification of the conformance element described. |
CONFORMANCE_SUB_ID |
VARCHAR(20) |
If the conformance element is a subfeature then it's identification, otherwise a single space. |
CONFORMANCE_TYPE |
VARCHAR(20) |
Type of conformance element. FEATURE, SUBFEATURE, PACKAGE, or PART. |
CONFORMANCE_IS_CORE_SQL |
BOOLEAN |
TRUE if the conformance element belongs to Core SQL, otherwise FALSE. |
CONFORMANCE_NAME |
VARCHAR(100) |
Short description of the conformance element. |
CONFORMANCE_SUB_NAME |
VARCHAR(130) |
Short description of a subfeature, otherwise a single space. |
CONFORMANCE_IS_SUPPORTED |
BOOLEAN |
TRUE if fully supported by Mimer SQL, otherwise FALSE. |
CONFORMANCE_IS_VERIFIED_BY |
BOOLEAN |
Should identify conformance test used to verify the conformance (always null). |
CONFORMANCE_REMARKS |
VARCHAR(100) |
Comments pertinent to the conformance element. |
Primary key: CONFORMANCE_ID, CONFORMANCE_SUB_ID
Records the SQL standards and SQL dialects supported.
Column name |
Data type |
Description |
---|---|---|
ORDINAL_NO |
INTEGER |
Ordinal number. |
SOURCE |
VARCHAR(100) |
Body that has defined standard. |
SOURCE_YEAR |
VARCHAR(100) |
Which year the standard was approved. |
CONFORMANCE |
VARCHAR(100) |
Level of conformance within standard. |
INTEGRITY |
VARCHAR(100) |
If the supported standard is ISO 9075 the value YES in this column means that the integrity enhancement feature of this standard is supported, otherwise the value of this column is null. |
IMPLEMENTATION |
VARCHAR(100) |
Implementation style, always null in Mimer SQL. |
BINDING_STYLE |
VARCHAR(100) |
One of: |
PROGRAMMING_LANG |
VARCHAR(100) |
Name of programming languages that are supported if the binding style is EMBEDDED. |
Primary key: ORDINAL_NO
Records compiled code for precompiled statements.
Column name |
Data type |
Description |
---|---|---|
STATEMENT_SYSID |
INTEGER |
System identifier for the precompiled statement. |
DESC_TYPE |
INTEGER |
Internal. Naming or section descriptor type. |
DESC_MODE |
INTEGER |
Mode, one of: |
DESC_SEQNO |
INTEGER |
Sequence number for compiled code. |
DESC_VERSION |
INTEGER |
Compiler version used. |
DESC_CODE_LENGTH |
INTEGER |
Length of compiled code. |
DESC_CODE |
BINARY(1000) |
Compiled code. |
Primary key: STATEMENT_SYSID, DESC_TYPE, DESC_MODE, DESC_SEQNO
Records compiled routines used by precompiled statements.
Column name |
Data type |
Description |
---|---|---|
STATEMENT_SYSID |
INTEGER |
System identifier for the precompiled statement. |
USE_SEQNO |
INTEGER |
Sequence number. |
USE_LEVEL |
INTEGER |
Call level for routine. |
ROUTINE_SYSID |
INTEGER |
System identifier for called routines. |
Primary key: STATEMENT_SYSID, USE_SEQNO
Secondary index: ROUTINE_SYSID
Records synonyms and shadows in the database.
Column name |
Data type |
Description |
---|---|---|
SYNONYM_SYSID |
INTEGER |
System identifier of the synonym. |
ORDINARY_SYSID |
INTEGER |
System identifier of the original object. |
Primary key: SYNONYM_SYSID
Secondary index: ORDINARY_SYSID
Records tables and views in the database.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier of the table or view. |
TABLE_TYPE |
VARCHAR(20) |
One of: |
TABLE_NOCOLS |
INTEGER |
Number of columns in table. |
TABLE_RECLEN |
INTEGER |
Record length for table. |
TABLE_CARD |
BIGINT |
Number of records in table. |
STATISTIC_GATHERED |
TIMESTAMP(2) |
Date and time when statistics for the table or view were lasted updated. |
IS_LEVEL2_APPROVED |
BOOLEAN |
One of: |
IS_PERSISTENT |
BOOLEAN |
One of: |
DATABANK_SYSID |
INTEGER |
System identifier of the databank in which the table is stored. |
LATEST_ROOTID |
INTEGER |
Identifier for the table used in the rootpage of the databank file. |
VARIABLE |
INTEGER |
Number of length field entries. |
IS_VARIABLE |
BOOLEAN |
One of: |
COMMIT_ACTION |
VARCHAR(20) |
Indicates what happens with records in a temporary table at commit. One of: The column will be null if the table is not temporary. |
Primary key: TABLE_SYSID
Secondary index: DATABANK_SYSID
Records table constraints in the database.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier of the table. |
CONSTRAINT_SYSID |
INTEGER |
System identifier of the constraint. |
CONSTRAINT_TYPE |
VARCHAR(20) |
One of: |
CONSTRAINT_KEYCOLS |
INTEGER |
Number of key columns in the constraint. |
CONSTRAINT_KEYLEN |
INTEGER |
Record length for key columns in the constraint. |
CONSTRAINT_RECCOLS |
INTEGER |
Number of columns in constraint. |
CONSTRAINT_RECLEN |
INTEGER |
Record length for constraint. |
CONSTRAINT_CARD |
BIGINT |
Number of records in constraint. |
DATABANK_SYSID |
INTEGER |
System identifier of the databank in which the table is stored. |
IS_CONSISTENT |
BOOLEAN |
One of: |
IS_DEFERRABLE |
BOOLEAN |
One of: |
INITIALLY_DEFERRED |
BOOLEAN |
One of: |
VARIABLE |
INTEGER |
Number of length field entries. |
LATEST_ROOTID |
INTEGER |
The latest value for the internal identifier for a constraint or index. The internal identifier can change if the table on which the constraint or index is defined is altered. |
ON_CONFLICT |
VARCHAR(20) |
Possible behavior when a constraint is violated. Currently this value is always ABORT. |
Primary key: TABLE_SYSID, CONSTRAINT_SYSID
Unique constraint: CONSTRAINT_SYSID
Records instances of privileges granted on a table.
Column name |
Data type |
Description |
---|---|---|
TABLE_SYSID |
INTEGER |
System identifier of the table. |
PRIVILEGE_TYPE |
VARCHAR(20) |
One of: |
GRANTEE_SYSID |
INTEGER |
The sysid of the ident to whom the table privilege was granted. |
GRANTOR_SYSID |
INTEGER |
The sysid of the ident granting the table privilege. |
IS_GRANTABLE |
BOOLEAN |
One of: |
IS_INSTEAD_OF |
BOOLEAN |
One of: |
IS_ON_TABLE |
BOOLEAN |
One of: |
ALL_COLUMNS |
BOOLEAN |
One of: |
Primary key: TABLE_SYSID, PRIVILEGE_TYPE, GRANTEE_SYSID, GRANTOR_SYSID
Secondary index: GRANTEE_SYSID
Secondary index: GRANTOR_SYSID
Records the types of table supported.
Column name |
Data type |
Description |
---|---|---|
TABLE_TYPE |
VARCHAR(20) |
One of: |
Primary key: TABLE_TYPE
Records character translations in the database.
Column name |
Data type |
Description |
---|---|---|
TRANSLATION_SYSID |
INTEGER |
System identifier of the character set translation. |
SRC_CHARSET_SYSID |
INTEGER |
System identifier of the source character set for the translation. |
TGT_CHARSET_SYSID |
INTEGER |
System identifier of the target character set for the translation. |
Primary key: TRANSLATION_SYSID
Records table columns explicitly specified in an UPDATE TRIGGER event.
Column name |
Data type |
Description |
---|---|---|
TRIGGER_SYSID |
INTEGER |
System identifier of the trigger. |
EVENT_TABLE_SYSID |
INTEGER |
System identifier of the table on which the trigger is defined. |
EVENT_COLUMN_ID |
INTEGER |
The id of the column in which updates will cause the trigger to execute. |
Primary key: TRIGGER_SYSID, EVENT_TABLE_SYSID, EVENT_COLUMN_ID
Records triggers in the database.
Column name |
Data type |
Description |
---|---|---|
TRIGGER_SYSID |
INTEGER |
System identifier of the trigger. |
EVENT_TABLE_SYSID |
INTEGER |
System identifier of the table on which the trigger is defined. |
EVENT_MANIPULATION |
VARCHAR(20) |
One of: |
ACTION_ORDER |
INTEGER |
Ordinal number for trigger execution. This number will define the execution order of triggers on the same table and with the same value for EVENT_MANIPULATION, CONDITION_TIMING and ACTION_ORIENTATION. The trigger with 1 in this column will be executed first, followed by the trigger with 2 etc. |
ACTION_CONDITION |
NCHAR VARYING(200) |
The text of the search condition of the trigger action WHEN clause. |
ACTION_STATEMENT |
NCHAR VARYING(200) |
The character representation of the body of the trigger. If the length of the text exceeds 200 characters, this value is null and the source text is stored in SOURCE_DEFINITION. |
ACTION_ORIENTATION |
VARCHAR(20) |
One of: |
CONDITION_TIMING |
VARCHAR(20) |
One of: |
COND_REF_NEW_TABLE |
NCHAR VARYING(128) |
Name of new table/row alias. |
COND_REF_OLD_TABLE |
NCHAR VARYING(128) |
Name of old table/row alias. |
REFERENCE_NEW |
BOOLEAN |
One of: |
REFERENCE_OLD |
BOOLEAN |
One of: |
COLS_IS_IMPLICIT |
BOOLEAN |
One of: |
REF_SYSID |
INTEGER |
System identifier for foreign key constraint, if the trigger is defined for checking of a delete rule. |
Primary key: TRIGGER_SYSID
Secondary index: EVENT_TABLE_SYSID
Records information about data types supported.
Column name |
Data type |
Description |
---|---|---|
INTERNAL_TYPE |
INTEGER |
System identifier of the internal data type. |
DATA_TYPE |
SMALLINT |
Identification number for data type. |
TYPE_NAME |
VARCHAR(30) |
Name of data type. Can be one of the following: |
COLUMN_SIZE |
INTEGER |
Length of data type name. |
LITERAL_PREFIX |
VARCHAR(30) |
Optional prefix for a literal of this type. |
LITERAL_SUFFIX |
VARCHAR(30) |
Optional suffix for a literal of this type. |
CREATE_PARAMS |
VARCHAR(30) |
A description of how to specify length attributes for the data type. |
NULLABLE |
SMALLINT |
One of: |
CASE_SENSITIVE |
SMALLINT |
One of: |
SEARCHABLE |
SMALLINT |
One of: |
UNSIGNED_ATTRIBUTE |
SMALLINT |
One of: |
FIXED_PREC_SCALE |
SMALLINT |
One of: |
AUTO_UNIQUE_VALUE |
SMALLINT |
One of: |
LOCAL_TYPE_NAME |
VARCHAR(30) |
Local name for data type. |
MINIMUM_SCALE |
SMALLINT |
Minimum value for scale for a numeric data type. |
MAXIMUM_SCALE |
SMALLINT |
Maximum value for scale for a numeric data type. |
SQL_DATA_TYPE |
SMALLINT |
A numeric value representing the data type. |
SQL_DATETIME_SUB |
SMALLINT |
Subtype for an interval data type. |
NUM_PREC_RADIX |
SMALLINT |
Radix for numeric data type. |
INTERVAL_PRECISION |
SMALLINT |
Precision for an interval data type. |
PRECISION |
INTEGER |
Precision for data type. |
INTERNAL_LEN_DIFF |
SMALLINT |
Internal length difference. |
INTERNAL_TYPENAME |
VARCHAR(30) |
Internal type name. |
INTERNAL_VERSION |
SMALLINT |
Internal version number. |
INTERNAL_TYPEORDER |
SMALLINT |
Internal type ordering number. |
Primary key: INTERNAL_TYPE, DATA_TYPE
Records instances of privileges which grant the right to use a database object.
Column name |
Data type |
Description |
---|---|---|
OBJECT_SYSID |
INTEGER |
System identifier of the database object. |
OBJECT_PRIVILEGE |
VARCHAR(20) |
One of: |
GRANTEE_SYSID |
INTEGER |
The id of the ident to whom the usage privilege was granted. |
GRANTOR_SYSID |
INTEGER |
The id of the ident granting the usage privilege. |
IS_GRANTABLE |
BOOLEAN |
One of: |
IS_IMPLICIT |
BOOLEAN |
One of: |
Primary key: OBJECT_SYSID, OBJECT_PRIVILEGE, GRANTEE_SYSID, GRANTOR_SYSID
Secondary index: GRANTEE_SYSID
Secondary index: GRANTOR_SYSID
Records user-defined types in the database.
Column name |
Data type |
Description |
---|---|---|
UDT_SYSID |
INTEGER |
System identifier of the user-defined type. |
CATEGORY_TYPE |
VARCHAR(20) |
One of: |
COLLATION_SYSID |
INTEGER |
System identifier for the collation used by the column. |
CHARSET_SYSID |
INTEGER |
System identifier for the character set used by the column. |
DATA_TYPE |
VARCHAR(30) |
Identifies the data type of the column. |
INTERVAL_TYPE |
VARCHAR(30) |
Identifies the interval type of the column |
CHAR_MAX_LENGTH |
BIGINT |
For CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in characters or bytes as appropriate. For all other data types it is the null value. |
CHAR_OCTET_LENGTH |
BIGINT |
For a CHARACTER, BINARY, CHARACTER LARGE OBJECT and BINARY LARGE OBJECT data types, this shows the maximum length in octets. For all other data types it is the null value. (For single octet character sets, this is the same as CHAR_MAX_LENGTH.) |
NUMERIC_PRECISION |
INTEGER |
For NUMERIC data types, this shows the total number of decimal digits allowed in the column. For all other data types it is the null value. NUMERIC_PREC_RADIX indicates the units of measurement. |
NUMERIC_SCALE |
INTEGER |
For NUMERIC data types, this shows the total number of significant digits to the right of the decimal point. For INTEGER values this is 0. For all other types, it is the null value. |
NUMERIC_PREC_RADIX |
INTEGER |
For NUMERIC data types, the value 10 is shown because NUMERIC_PRECISION specifies a number of decimal digits. For all other data types it is the null value. NUMERIC_PRECISION and NUMERIC_PREC_RADIX can be combined to calculate the maximum number that the column can hold. |
DATETIME_PRECISION |
INTEGER |
For DATE, TIME, TIMESTAMP and interval data types, this column contains the number of digits of precision for the fractional seconds component. For other data types it is the null value. |
INTERVAL_PRECISION |
INTEGER |
For INTERVAL data types, this is the number of significant digits for the interval leading precision, see the Mimer SQL Reference Manual. For other data types it is the null value. |
INTERNAL_TYPE |
INTEGER |
System identifier of the internal data type. |
INTERNAL_LENGTH |
INTEGER |
Internal length in bytes of value. |
MAX_INTERNAL_LENGTH |
INTEGER |
Length of the type’s longest subtype. |
IS_INSTANTIABLE |
BOOLEAN |
One of: |
IS_FINAL |
BOOLEAN |
One of: |
ORDERING_FORM |
VARCHAR(20) |
One of: |
ORDERING_CATEGORY |
VARCHAR(20) |
One of: |
ORDERING_ROUTINE_SYSID |
INTEGER |
System identifier for ordering function. |
ORDERING_SYSID |
INTEGER |
System identifier for ordering. |
NO_OF_ATTRIBUTES |
INTEGER |
Number of attributes in a structured user-defined type, 0 if user-defined type is distinct. |
CONSTRUCTOR_FUNCTION |
INTEGER |
System identifier for constructor function, 0 if user-defined type is distinct. |
OBSERVER_METHOD |
INTEGER |
System identifier for observer method, 0 if user-defined type is structured. |
TOTAL_DEFAULT_LENGTH |
INTEGER |
Total length in bytes for all default values for attributes in a structured user-defined type. |
TOTAL_ATTRIBUTE_NAME_LENGTH |
INTEGER |
Total length for all attribute names in a structured user-defined type. |
AS_LOCATOR |
BOOLEAN |
For a distinct type this indicates whether the base data type used in the type definition is declared AS LOCATOR or not. One of: |
NO_OF_SUPERTYPES |
INTEGER |
Number of supertypes. |
NO_OF_SUBTYPES |
INTEGER |
Number of subtypes. |
NO_OF_INHERITED |
INTEGER |
Number of inherited. |
Primary key: UDT_SYSID
Secondary index: ORDERING_SYSID
Records idents (GROUP, PROGRAM or USER) in the database.
Column name |
Data type |
Description |
---|---|---|
USER_NAME |
NCHAR VARYING(128) |
The ident name. |
USER_SYSID |
INTEGER |
System identifier for the ident. |
USER_TYPE |
VARCHAR(20) |
One of: |
USER_PASSWORD |
INTEGER |
The minimum length for a password. |
Primary key: USER_NAME
Unique constraint: USER_SYSID
Records views in the database.
Column name |
Data type |
Description |
---|---|---|
VIEW_SYSID |
INTEGER |
System identifier of the view. |
CHECK_OPTION |
VARCHAR(20) |
One of: |
IS_UPDATABLE |
BOOLEAN |
One of: |
IS_INSTEAD_OF |
BOOLEAN |
One of: |
VIEW_DEFINITION |
NCHAR VARYING(200) |
The text of the view definition. If the length of the text exceeds 200 characters, this value is null and the text is stored in SOURCE_DEFINITION. |
Primary key: VIEW_SYSID