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...


what is candidate key & primary key,different b/t the two?

Answers were Sorted based on User's Feedback



what is candidate key & primary key,different b/t the two?..

Answer / naz

A Candidate Key can be any column or a combination of
columns that can qualify as unique key in database. There
can be multiple Candidate Keys in one table. Each Candidate
Key can qualify as Primary Key.

A primary key is the column that uniquely identifies a
record. A primary key should be UNIQUE and never be NULL.

Is This Answer Correct ?    10 Yes 1 No

what is candidate key & primary key,different b/t the two?..

Answer / uday shankar dokku

candidate key: when we reduce unnecessary columns from a
super key it is called as candidate key
primary key: primary key is a constraint, in a table
there is only one primary key,a primary key is simple or
composite, a simple primary key is based on one column which
can be specified either inline outline of the constraint,a
composite primary key is based on (2-32)columns which can
be specified only out line of the constraint,a primary dose
not allows duplicates.

Is This Answer Correct ?    0 Yes 0 No

what is candidate key & primary key,different b/t the two?..

Answer / parijatha

there is no difference between the candidate and primary key
as both derives all other attributes in the relation.The
concept of primary key came into account to make the search
easy the is whenever a candidate key is declared as primary
key the primary key attribute gets sorted which reduces the
response time

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Database Management Interview Questions

What are the ACID Properties in a Database and Why are They Important?

1 Answers  


What are the characteristics of database?

0 Answers  


i need query for displaying the eno,ename in a table from row 2 to row 5

1 Answers  


What is write ahead logging in DBMS?

0 Answers   HAL,


What are the types of database users?

0 Answers  


There are 100 datafiles, numbered from 1 to 100. File number 10 is deleted and it has 500 MB of data. The database is working in archive log mode. How can be the database recovered ? While doing recovery the archive logs applied are from nos 1 to 100, but 50 gets corrupted. What do we do? Can we proceed further? If so how?

0 Answers  


What is the use of PARFILE option in EXP command ?

1 Answers  


Explain what are triggers and rules?

0 Answers  


What is data model in database?

0 Answers  


What is the difference between oracle CPU and PSU?

2 Answers  


What restrictions can you apply when you are creating views?

0 Answers  


What is unique key in dbms?

0 Answers  


Categories