ROWID
ROWID defines a field that contains generated row IDs.
This field must be in internal format (a varying length hexadecimal string). The first two bytes of this hexadecimal string contain the length of the row ID string. The length is the number of bytes and does not include the two length bytes.
The following information describes how LOADPLUS processes ROWID fields:
- With the exception described in the restrictions, if the ROWID field is defined as GENERATED ALWAYS, LOADPLUS ignores the VALUE option in the field specification and generates its own unique row identifiers.
- If the ROWID field is defined as GENERATED BY DEFAULT, LOADPLUS performs minimal validation on the ROWID field and loads the ROWID data with no conversions.
Restrictions
ROWID fields in LOADPLUS have the following restrictions:
- You cannot reference a ROWID field in a WHEN, DEFAULTIF, or NULLIF clause.
- You cannot specify DEFAULTIF with VALUE or NULLIF for a ROWID field.
- If the ROWID field is defined as GENERATED ALWAYS and you specify FORMAT BMCLOAD, LOADPLUS discards all rows for the table and issues message BMC51590E.
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*