Documentos de Académico
Documentos de Profesional
Documentos de Cultura
SYSIBM.SYSVIEWS table
The SYSIBM.SYSVIEWS table contains one or more rows for each view, materialized query table, or user-defined
SQL function.
Column name
NAME
CREATOR
Data type
VARCHAR(128)
NOT NULL
VARCHAR(128)
NOT NULL
SMALLINT
NOT NULL
CHECK
CHAR(1)
NOT NULL
Description
Use
Not used
N
No
C
Yes with the cascaded semantic
Y
Yes with the local semantic
The value is N if the view has no WHERE clause, or the
object is not a view.
IBMREQD
CHAR(1)
NOT NULL
VARCHAR(1500)
NOT NULL
PATHSCHEMAS
RELCREATED
TYPE
VARCHAR(2048)
NOT NULL WITH
DEFAULT
CHAR(1)
NOT NULL
CHAR(1)
NOT NULL
Not used
SQL path at the time the object was defined. The path is G
used to resolve unqualified data type and function names
used in the object definition.
Type of table:
F
SQL function
M
Materialized query table
V
View
http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.sqlref/src/tpc/db2z_sysibmsysviewstable.dita?cp=SSEPEK_10.0.0%2
1/3
7/4/2014
REFRESH
CHAR(1)
NOT NULL WITH
DEFAULT
Refresh mode:
D
A materialized query table with a deferred refresh
mode
blank
Not a materialized query table
ENABLE
CHAR(1)
NOT NULL WITH
DEFAULT
Y
Enabled
N
Disabled
blank
Not a materialized query table
MAINTENANCE
CHAR(1)
NOT NULL WITH
DEFAULT
Maintenance mode:
S
For a REFRESH = 'D', a materialized query table
that is maintained by the system.
U
For a REFRESH = 'D', a materialized query table
that is maintained by the user.
blank
Not a materialized query table.
REFRESH_TIME
ISOLATION
TIMESTAMP
NOT NULL WITH
DEFAULT
CHAR(1)
NOT NULL WITH
DEFAULT
R
RR (repeatable read)
S
CS (cursor stability)
T
RS (read stability)
U
UR (uncommitted read)
blank
Not a materialized query table
SIGNATURE
APP_ENCODING_
CCSID
VARCHAR(1024)
NOT NULL WITH
DEFAULT
FOR BIT DATA
INTEGER
NOT NULL WITH
DEFAULT
http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.sqlref/src/tpc/db2z_sysibmsysviewstable.dita?cp=SSEPEK_10.0.0%2
2/3
7/4/2014
OWNER
OWNERTYPE
VARCHAR(128)
NOT NULL WITH
DEFAULT
CHAR(1)
NOT NULL WITH
DEFAULT
blank
Authorization ID
L
Role
ENVID
ROWID
STATEMENT
INTEGER
NOT NULL
WITH DEFAULT
ROWID
NULL
GENERATED
ALWAYS
CLOB(2M)
NOT NULL
WITH DEFAULT
BLOB(1G)
NOT NULL
WITH DEFAULT
http://www-01.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/com.ibm.db2z10.doc.sqlref/src/tpc/db2z_sysibmsysviewstable.dita?cp=SSEPEK_10.0.0%2
3/3