How to know the primary key of a table without defining the
primary key in the table?

Answer Posted / kums

you could use SYSIBM.SYSINDEXES table to know more about
the table index.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage in De-normalizing tables in DB2?

743


what is diffrence b/w file-aid tool and file-aid utility???

4176


Define db2.

670


What is a db2 cursor?

622


How to find the number of rows in a db2 table?

644






What is scrollable cursor in db2?

579


How do I connect my db2 database to ibm?

600


How do you concatenate the firstname and lastname from emp table to give a complete name?

599


What is the latest version of ibm db2?

735


What is explain in db2?

582


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

639


What is a system catalog table in db2?

586


is it compulsory commitment control in journal?

2009


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

1646


can we view the access paths created by dbrm ? how ? thx

6242