By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,756 Members | 1,721 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,756 IT Pros & Developers. It's quick & easy.

Indexes of tables

P: n/a
bea
Hello, I know this is a question very simple but I can't remember how
see if a table has indexes.

Can you help me?

Thank you

Feb 15 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Feb 15, 5:06 pm, "bea" <mbeatrizrodrig...@gmail.comwrote:
Hello, I know this is a question very simple but I can't remember how
see if a table has indexes.

Can you help me?

Thank you
select indname from syscat.indexes where tabschema = ? and tabname = ?
/Lennart

Feb 15 '07 #2

P: n/a
In article <11**********************@j27g2000cwj.googlegroups .com>,
mb***************@gmail.com says...
Hello, I know this is a question very simple but I can't remember how
see if a table has indexes.

Can you help me?

Thank you

db2 describe indexes for table sysibm.sysindexes show detail
Feb 15 '07 #3

P: n/a
aj
bea wrote:
Hello, I know this is a question very simple but I can't remember how
see if a table has indexes.

Can you help me?

Thank you
Or...right-click on table in Control Center, choose "Show Related", then
click "Indexes" tab.

aj
Feb 15 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.