Page 1 of 1

Query to get Primary keys and Indexes

PostPosted: Sat Jun 07, 2008 4:58 pm
by prashanthreddy
Hi ,

Is there any query using which we can get the Primary keys for a particular table. If you have any queries to get Primary keys, foreign keys and Indexes please reply me.

Thanks,
Prashanth

Re: Query to get Primary keys and Indexes

PostPosted: Sat Jun 07, 2008 5:45 pm
by dick scherrer
Hello,

See if this will do what you want. . .

http://publibz.boulder.ibm.com/cgi-bin/ ... 0718164132