Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / nkv

Use the table name in SYSINDEXES to get the Primary index
name. The Primary index will have the value ‘P’ against
UNIQUERULE column in this table. Use this index name in
SYSKEYS table to get the column(s) in Primary key.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Outputs of explain are with matchcols = 0. What does this signify?

1051


Explain about rct in db2?

1104


What is reorg and runstats in db2?

1215


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2210


When the like statement is used?

1222


How to test SQL -911 error while developing COB-DB2 program

7562


Can we delete records from view?

967


Explain db2.

1033


How does coalesce work?

1016


What is null in db2?

1019


What is role in db2?

1101


What does sqlcabc has?

1048


What type of database is db2?

967


What are host variables in db2?

1070


What is bind plan?

1045