Attributes used in SET and WHERE clauses


The attributes that are shown in the CM/PILOT DML panels for SET and WHERE clauses have the same names and characteristics as the column names for the Db2 catalog tables (which are documented in the IBM documentation).

Important

You can use any column name of any catalog table in a WHERE clause. However, for SET clauses, you can use only the column names of the catalog tables that are listed in the following tables.


Alias attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CREATOR

X

X

LABEL

X

N/A

LOCATION

X

X

NAME

X

X

REMARKS

X 1

N/A

TBCREATOR

X

X

TBNAME

X

X

1 No input field exists in the panels for the REMARKS attribute. You must edit the SET clause to change it. The REMARKS column is updated by the COMMENT ON SQL statement.

Check constraint attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CHECKNAME

X

X

CHECKCONDITION

X

N/A

CREATOR

X 1

X

TBNAME

X 1

X

TBOWNER

X 1

X

1 You can use this attribute only in the SET clause for a LIKE statement.

Column (table and view) attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

COLCARD

X

X

COLCARDF

X

X

COLNO

X

X

COLTYPE

X

X

DEFAULT

X

X

DEFAULTVALUE

X

X

FLDPROC

X

X

FOREIGNKEY

X

X

HIDDEN 1

X

X

KEYSEQ

X

X

LABEL

X

X

LENGTH

X

X

LENGTH2

X

X

NAME

X

X

NULLS

X

X

ORDER

X 2

X 2

PERIOD

X

X

REMARKS

X 3

N/A

SCALE

X

X

TBCREATOR

X 4

X

TBNAME

X 4

X

TYPENAME

X

X

TYPESCHEMA

X

X

1 This attribute applies only to a table.

2 This attribute only applies to an identity column in a table. No input field exists in the panels for the ORDER attribute. You must edit the SET and WHERE clauses to change it.

3 No input field exists in the panels for the REMARKS attribute. You must edit the SET clause to change it. The REMARKS column is updated by the COMMENT ON SQL statement.

4 You can use this attribute only in the SET clause for a LIKE statement.

Column mask attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

COLNAME

X

X

ENABLE

X

X

NAME

X

X

OWNER

N/A

X

REMARKS

X

X

SCHEMA

X

X

TBCORRELATION

X

X

TBNAME

X 1

X

TBSCHEMA

X 1

X

1 You can use this attribute only in the SET clause for a LIKE statement. 


Database attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

BPOOL

X

X

CREATOR

X

X

ENCODING_SCHEME

X

X

GROUP_MEMBER

N/A

X

INDEXBP

X

X

NAME

X

X

STGROUP

X

X

TYPE

N/A

X

Field (LIKE and UPDATE) attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

COLNO

N/A

X

COLTYPE

N/A

X

FLDPROC

X

X

LENGTH

N/A

X

NAME

X

X

SCALE

N/A

X

TBCREATOR

X 1

X

TBNAME

X 1

X

 1 You can use this attribute only in the SET clause for a LIKE statement.

Foreign key attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

COLNAME

X 1

X

COLNO

N/A

X

COLSEQ

X

X

CREATOR

X 1

X

DELETERULE

X

X

REFTBCREATOR

X

X

REFTBNAME

X

X

RELNAME

X

X

TBNAME

X 1

X

 1 You can use this attribute only in the SET clause for a LIKE statement.

Index attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

BPOOL

X

X

CLOSERULE

X

X

CLUSTERING

X

X

COMPRESS

X

X

COPY

X

X

CREATOR

X

X

DEFINE

X

X

DSSIZE


X

X

ERASERULE

X

X

FULLKEYCARDF

X

X

NAME

X

X

PADDED

X 1

X 1

PGSIZE

X

X

PIECESIZE

X

X

REMARKS

X 2

N/A

TBCREATOR

X 3

X

TBNAME

X 3

X

UNIQUERULE

X

X

1 No input field exists in the panels for the PADDED attribute. You must edit the SET and WHERE clauses to change it.

2 No input field exists in the panels for the REMARKS attribute. You must edit the SET clause to change it. The REMARKS column is updated by the COMMENT ON SQL statement.

3 You can use this attribute only in the SET clause for a LIKE statement.

Index key attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

COLNAME

X

X

COLSEQ

X

X

IXCREATOR

X 1

X

IXNAME

X 1

X

ORDERING

X

X

PERIOD

X

X

1 You can use this attribute only in the SET clause for a LIKE statement.

Index partition attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

AVGKEYLEN

X

X

CARD

X

X

CARDF

X

X

DSSIZE


X

X

FREEPAGE

X

X

GBPCACHE

X

X

IXCREATOR

X 1

X

IXNAME

X 1

X

PARTITION

N/A

X

PCTFREE

X

X

PQTY

X 2

X

ROWSPKEY

X

X

ROWSPKEYF

X

X

SECQTYI

X

X

SPACE

X

X

SQTY

X 2

X

STORNAME

X

X

VCATNAME

X 1

X

1 You can use this attribute only in the SET clause for a LIKE statement.

2 The value of PQTY or SQTY can be an expression that includes the BMCSPACE keyword. The BMCSPACE keyword represents the value that is returned from Change Manager space estimation.

Parm attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CCSID

X

X

ENCODING_SCHEME

X

X

LENGTH

X

X

LOCATOR

X

X

NAME

X

X

ORDINAL

X

X

OWNER

X

X

PARMNAME

X

X

ROWTYPE

X

X

SCALE

X

X

SCHEMA

X

X

SUBTYPE

X

X

TYPENAME

X

X

TYPESCHEMA

X

X

VERSION

X

X

Relation attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CREATOR

X 1

X

DELETERULE

X

X

ENFORCED

X

X

IXNAME

X 1

X

IXOWNER

X 1

X

REFTBCREATOR

X

X

REFTBNAME

X

X

RELNAME

X

X

TBNAME

X 1

X

1 You can use this attribute only in the SET clause for a LIKE statement.

Routine attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

ACTIVE

X

X

APPLCOMPAT

X

X

ARCHIVESENSITIVE

X

X

ASUTIME

X

X

BUSTIMESENSITIVE

X

X

COLLID

X

X

COMMIT_ON_RETURN

X

X

CONCUR_ACC_RES

X

X

DATE_FORMAT

X

X

DBINFO

X

X

DEBUG_MODE

X

X

DEC31

X

X

DEFERPREP

X

X

DEFERPREPARE

X

X

DEGREE

X

X

DETERMINISTIC

X

X

DYNAMICRULES

X

X

ENCODING_CCSID

X

X

EXPLAIN

X

X

EXTERNAL_NAME

X

X

EXTERNAL_SECURITY

X

X

FENCED

X

X

IMMEDWRITE

X

X

ISOLATION

X

X

JAR_ID

X

X

JARSCHEMA

X

X

JAVA_SIGNATURE

X

X

KEEPDYNAMIC

X

X

LANGUAGE

X

X

MAX_FAILURE

X

X

NAME

X

X

NULL_CALL

X

X

OPTHINT

X

X

ORIGIN

X

X

OWNER

X

X

PACKAGEPATH

X

X

PARAMETER_CCSID

X

X

PARAMETER_STYLE

X

X

PARAMETER_VARCHARFORM

X

X

PATHSCHEMAS

X

X

PROGRAM_TYPE

X

X

QUALIFIER

X

X

RELEASE

X

X

REMARKS

X

X

REOPTVAR

X

X

RESULT_SETS

X

X

ROUNDING

X

X

RUNOPTS

X

X

SCHEMA

X

X

SPECIAL_REGS

X

X

SYSTIMESENSITIVE

X

X

SQL_DATA_ACCESS

X

X

STAYRESIDENT

X

X

TIME_FORMAT

X

X

VALIDATE

X

X

VERSION

X

X

WLM_ENV_FOR_NESTED

X

X

WLM_ENVIRONMENT

X

X

Row permission attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

ENABLE

X

X

NAME

X

X

OWNER

N/A

X

REMARKS

X

X

SCHEMA

X

X

TBCORRELATION

X

X

TBNAME

X 1

X

TBSCHEMA

X 1

X

1 You can use this attribute only in the SET clause for a LIKE statement. 


Sequence attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CACHE

X

X

COLTYPE

X

X

CYCLE

X

X

INCREMENT

X

X

MAXVALUE

X

X

MINVALUE

X

X

NAME

X

X

ORDER

X

X

PRECISION

N/A

X

REMARKS

X

X

SCHEMA

X

X

START

X

X

TYPENAME

X

X

TYPESCHEMA

X

X

Storage group attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CREATOR

X

X

NAME

X

X

VCATNAME

X

X

DATACLAS

X

X

MGMTCLAS

X

X

STORCLAS

X

X

Synonym attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CREATOR

X

X

NAME

X

X

TBCREATOR

X

X

TBNAME

X

X

Table attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

ARCHIVING_SCHEMA

X

X

ARCHIVING_TABLE

X

X

AUDITING

X

X

CARD

X

X

CARDF

X

X

CHECKRID 4

X

X

CHECKS

N/A

X

CLUSTERTYPE

X

X

CLUSTERRID

X

X

CREATOR

X

X

DATACAPTURE

X

X

DBNAME

X

X

EDPROC

X

X

ENABLE

X

X

ENCODING_SCHEME 1

X

X

LABEL

X

N/A

MAINTENANCE

X

X

NAME

X

X

OBID

X

X

REMARKS

X

X

SPLIT_ROWS 2

X

X

TCPART

X

N/A

TSNAME

X

X

TYPE

X 3

X

VALPROC

X

X

VERSIONING_SCHEMA

X

X

VERSIONING_TABLE

X

X

1 This attribute applies only to global temporary tables. If you specify a value for the encoding scheme for a table, the product adds TYPE = ‘G’ to the WHERE clause

2 The SPLIT_ROWS attribute corresponds to the VOLATILE parameter.

3 You can use this attribute only in the SET clause for a LIKE statement.

4 You need to specify values for CHECKRID containing x'00' using the x'FFFFFF00' format instead of coding the actual hexadecimal values.

Table space attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

BPOOL

X

X

CLOSERULE

X

X

CREATOR

X

X

DBNAME

X

X

DEFINE

X

X

DSSIZE

X

X

ENCODING_SCHEME

X

X

ERASERULE

X

X

LOCKMAX

X

X

LOCKPART

X

X

LOCKRULE

X

X

LOG

X

X

MAXPARTITIONS

X

X

MAXROWS

X

X

NAME

X

X

PAGENUM


X

X

SEGSIZE

X

X

TYPE

X

X

Table space partition attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CARD

X

X

COMPRESS

X

X

DBNAME

X 1

X

DSSIZE


X

X

EPOCH

X

X

FREEPAGE

X

X

GBPCACHE

X

X

PARTITION

N/A

X

PCTFREE

X

X

PCTFREE_UPD

X

X

PQTY

X 2

X

SECQTYI

X

X

SQTY

X 2

X

STORNAME

X

X

TRACKMOD

X

X

TSNAME (like only)

X

X

VCATNAME

X

X

1 You can use this attribute only in the SET clause for a LIKE statement.

2 The value of PQTY or SQTY can be an expression that includes the BMCSPACE keyword. The BMCSPACE keyword represents the value that is returned from Change Manager space estimation.

Basic Trigger attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CREATEDBY

N/A

X

CREATEDTS

N/A

X

DBID

N/A

X

GRANULARITY

N/A

X

NAME

X

X

OBID

N/A

X

OWNER

X

X

REMARKS

X

X

SCHEMA

X

X

SECURE

X

X

SEQNO

N/A

X

TBNAME

X

X

TBOWNER

X

X

TRIGEVENT

N/A

X

TRIGTIME

N/A

X

Advanced Trigger attributes for SET and WHERE clauses

(BMC.DB2.SPE2210)

Attribute

SET clause

WHERE clause

ACTIVE                     

X

X

ADD_VERSION                

X

X

APPLCOMPAT                 

X

X

APREUSE

N/A

X

APREUSE_NO_FL

N/A

X

APREUSE_NO_TS

N/A

X

ARCHIVESENSITIVE           

X

X

ASUTIME                    

X

X

BINDTIME

N/A

X

BUSTIMESENSITIVE           

X

X

CHARSET

N/A

X

COLLID

N/A

X

COMMA

N/A

X

COMMIT_ON_RETURN

N/A

X

CONCUR_ACC_RES             

X

X

CONC_STMT                  

X

X

CREATEDBY

N/A

X

CREATEDTS

N/A

X

CREATOR

N/A

X

DATE_FORMAT                

X

X

DBID

N/A

X

DBPROTOCOL

N/A

X

DEBUG_MODE                 

X

X

DEC31                      

X

X

DEFERPREP                  

X

X

DEGREE

N/A

X

DYNAMICRULES               

X

X

ENCODING_CCSID             

X

X

EXPLAIN                    

X

X

FOR_UPDATE_CLAUSE          

X

X

FUNCTIONTS

N/A

X

FUNCTION_LVL

N/A

X

GRANULARITY

N/A

X

IMMEDWRITE                 

X

X

ISOLATION                  

X

X

LASTUSED

N/A

X

MIXED

N/A

X

NAME

X

X

OBID

N/A

X

OPTHINT                    

X

X

OWNER

X

X

PARAMETER_CCSID

N/A

X

PATHSCHEMAS                

X

X

PLANMGMT

N/A

X

PLANMGMTSCOPE

N/A

X

QUALIFIER                  

X

X

QUOTE

N/A

X

RELBOUND

N/A

X

RELEASE                    

X

X

REMARKS

X

X

REOPTVAR

N/A

X

ROUNDING                   

X

X

SCALE                      

X

N/A

SCHEMA

X

X

SECURE

X

X

SEQNO

N/A

X

SQLPL

N/A

X

SYSTIMESENSITIVE           

X

X

TBNAME

X

X

TBOWNER

X

X

TIME_FORMAT                

X

X

TIMESTAMP

N/A

X

TRIGEVENT

N/A

X

TRIGTIME

N/A

X

TYPE

N/A

X

VALID

N/A

X

VALIDATE  

N/A

X

VERSION                    

X

X

WLM_ENVIRONMENT            

X

X

View attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

CHECK

X

X

CREATOR

X

X

LABEL

X

N/A

NAME

X

X

REMARKS

X 1

N/A

 1 No input field exists in the panels for the REMARKS attribute. You must edit the SET clause to change it. The REMARKS column is updated by the COMMENT ON SQL statement.

Volume attributes for SET and WHERE clauses

Attribute

SET clause

WHERE clause

SGCREATOR

X 1

X

SGNAME

X 1

X

VOLID

X

X

1 You can use this attribute only in the SET clause for a LIKE statement.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*