Hi all
I am hew to IBM DB2
Can any one send me all SQL staments,,,,,
Please.......
Thanks in advance...
-----Original Message-----
From: Suresh
[mailto:db2udbdba-ezmlmshield-x29935194.[Email address protected]
Sent: Wednesday, September 27, 2006 7:32 PM
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
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
DB2 & UDB email list listserv db2-l LazyDBA home page