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

What is reorg and runstats in db2?

1213


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

1051


What is the difference between oracle and db2?

1096


How to view db2 table structure?

1011


Give the name of some fields form sqlca.

1068


What do you mean by rollback?

988


Define db2 and its databases?

1051


What is dbrm in db2 database?

1105


What is rct?

1226


What is lock escalation in db2?

1025


What is data manager?

1041


What is runstats db2?

1014


How does db2 sample database connect?

1024


How connect db2 database to datastage?

1232


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

1099