We are using a tool that requires specific tables in our DB2 database to have a Primary Key defined.
Is there a way using a select statement on the DB to see if a given table has one?
Thanks.
|
We are using a tool that requires specific tables in our DB2 database to have a Primary Key defined. Is there a way using a select statement on the DB to see if a given table has one? Thanks. |
||||
|
|
|
Disclaimer: I do not know DB2. I simply googled these with "db2 table definition".
|
||||
|
|
you can do a
|
|||||
|