Integrity Rules In The System Tables - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Integrity rules in the system tables

All the information about integrity checks and rules in a database is held in the
following system tables and views:
System table
SYS.SYSTABLE
SYS.SYSFOREIGNKEYS
SYS.SYSCOLUMNS
For a description of the contents of each system table, see "System Tables" in
the Adaptive Server IQ Reference Manual. You can use Sybase Central or
DBISQL to browse these tables and views.
CHAPTER 7
Description
CHECK constraints are held in the
column of SYS.SYSTABLE. For views, the
holds the CREATE VIEW command
view_def
that created the view. You can check whether a
particular table is a base table or a view by
looking at the
column, which is
table_type
BASE or VIEW.
This view presents the foreign key information
from the two tables SYS.SYSFOREIGNKEY
and SYS.SYSFKCOL in a more readable
format.
This view presents the information from the
SYS.SYSCOLUMN table in a more readable
format. It includes default settings and primary
key information for columns.
Ensuring Data Integrity
view_def
285

Advertisement

Table of Contents
loading

Table of Contents