If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
In SYSCAT.SEQUENCES there are system generated identity sequnces, which I guess are sequences used internally by DB2 for implementing identity columns ...
Does anyone know how to associate the table to the identity sequences they refer to ...
Thanks
sAthyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
syscat.sequences is only for sequences not for identity
The object syscat.sequences keep the sequences (similar to oracle sequences) and is nothing to do with identity.
In Db2 we have both posibilities to generate ID-s:
sequence or identity. IN sql server we only have identity and in Oracle only sequences. If you need identity information in system tables you can search in syscat.columns the column identity.