How to list the avail. sequence

This is a discussion on How to list the avail. sequence within the db2-udb forums in Other Databases category; 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....

Go Back   Database Forum > Other Databases > db2-udb

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-20-2007, 05:46 AM
Default How to list the avail. sequence

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.


Reply With Quote
  #2  
Old 09-20-2007, 05:56 AM
Default Re: How to list the avail. sequence


Hi,

SQL: "SELECT SEQNAME FROM SYSIBM.SYSSEQUENCES"

Greetings from Stuttgart,
Bogdan
Reply With Quote
  #3  
Old 09-24-2007, 10:21 AM
Default Re: How to list the avail. sequence

bogdan.taru-at-to.com wrote:

> 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
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:43 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.