Correction !!!
Select substr(indschema,1,10),substr(indname,1,60), indextype from
syscat.indexes where tabname = 'MY-TABLE' and tabschema = 'MYSCHEMA';
CLUS = Clustering
REG = Regular
DIM = Dimension block index
BLOK = Block index :)
Suresh G.
"Edwards Ed " <db2udbdba-ezmlmshield-x91934527.[Email address protected]
09/27/2006 09:40 AM
To
"LazyDBA Discussion" <[Email address protected]
cc
Subject
RE: Clustered Index
Hey Suresh,
Mark Gillis also suggested using the indextype column in the
syscat.indexes catalog view. Thanks for the info.
Have a great Day!
-----Original Message-----
From: Suresh
[mailto:db2udbdba-ezmlmshield-x29935194.[Email address protected]
Sent: Wednesday, September 27, 2006 10:02 AM
To: LazyDBA Discussion
Subject: Re: Clustered Index
try,
Select substr(indschema,1,10),substr(indname,1,60), UNIQUERULE from
syscat.indexes where tabname = 'MY-TABLE' and tabschema = 'MYSCHEMA';
UNIQUERULE=U {unique index]
UNIQUERULE=D {duplicate allowed]
UNIQUERULE=C {clustered index]
UNIQUERULE=P {Primary Key] :)
Suresh G.
"Edwards Ed " <db2udbdba-ezmlmshield-x43718180.[Email address
protected]
09/27/2006 06:53 AM
To
"LazyDBA Discussion" <[Email address protected]
cc
Subject
Clustered Index
To All,
In DB2, version 8.2, Fixpack 7, for Windows, how can you tell if a
table has a clustered index (without searching in the output from the
DB2LOOK utility)? Thanks.
Please take a few minutes to provide feedback on the quality of service
you received. The Department of Education values your feedback as a
customer. Commissioner John L. Winn is committed to continuously
assessing
and improving the level and quality of services provided to you by
Department staff. Simply use the link below. Thank you in advance for
completing the survey.
http://data.fldoe.org/cs/default.cfm?staff=Ed.[Email address protected]
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
CONFIDENTIALITY NOTICE:
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or
use of the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and
notify us immediately at 262-703-7000.
CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's
reserves the right to retrieve and read any message created, sent and
received. Kohl's reserves the right to monitor messages by authorized
Kohl's Associates at any time
without any further consent.
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
---------------------------------------------------------------------
TO REPLY TO EVERBODY , PLEASE CLICK REPLY-ALL, NOT JUST REPLY
To post a dba job: http://jobs.lazydba.com
To Subscribe : http://www.LazyDBA.com
To unsubscribe: http://www.lazydba.com/unsubscribe.html
CONFIDENTIALITY NOTICE:
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000.
CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time
without any further consent.
DB2 & UDB email list listserv db2-l LazyDBA home page