Discussion:
How to list the avail. sequence
(too old to reply)
c***@hotmail.com
2007-09-20 08:46:11 UTC
Permalink
Hi,

Is there anyway to list all the available sequence in the database?
If yes how?

In Control Center and/or SQL....:)

Thanks in advance.
b***@to.com
2007-09-20 08:56:21 UTC
Permalink
Hi,

SQL: "SELECT SEQNAME FROM SYSIBM.SYSSEQUENCES"

Greetings from Stuttgart,
Bogdan
Knut Stolze
2007-09-24 13:21:26 UTC
Permalink
Post by b***@to.com
SQL: "SELECT SEQNAME FROM SYSIBM.SYSSEQUENCES"
If you are on DB2 LUW, you should use the catalog view SYSCAT.SEQUENCES
instead - to avoid dependencies on internal, undocumented tables.
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Continue reading on narkive:
Loading...