|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Sequence table.-urgent please respond.
Hi All,
I created one sequence in DB2 udb. I want to know in which system tables, this information stores. your early information is appreciated. Thanks in advance. mary. |
|
#2
|
|||
|
|||
|
If you have a good tool such as Quest, you should be able to look at all the different objects in your DB, including all sequences defined for a particular DB. Quest is some $$$. WinSQL may also give this info and there is a free version.
fv
__________________
...because that is the way we have always done it. We've been doing it like that for 80 Years! (How do we change that mindset?) |
|
#3
|
||||
|
||||
|
You need something like (introduction to the system catalog views here )
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#4
|
|||
|
|||
|
Quote:
Yes, knowledge is always best, I agree. For someone in a pinch, tools work. their assignment is tomorrow to memorize the catalog structure, which may change in Version Next. I <*think*> I read somewhere that for DB2 (or another RDBMS?) that there some vendor-supplied Stored procedures you'd want to call , thus hiding catalog changes from version N -1 at any point in time. Have you seen this? I have always used something like select * from sysibm.syscolumns for grabbing catalog stuff for tables, fetch first N rows and then refine it from there when spelunking into the DB. fv |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > Sequence table.-urgent please respond. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|