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

Define candidate key, alternate key, composite key.

Answer Posted / sheharyar ali

Candidate Key
A coulmn in database table that can be used to uniquely identify each row in that table is said to be a Candidate Key
Primary Key
IF a Table has a coulmn or min Combination of Column(s) that can uniquley Identify each Row in that table then such a column or group of Column is said to be Primary Key

Alternate Key
A table may contain more than one Cadidate Column.Among these Candidate column the most appropiate one is genrally chosen as Primary Key While others that are left out are Said to be Alternate Keys.

Composite Key
Combination of more than One Column to uniquely identfiy all rows in a Table is said to be Composite Key

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does a profiler work?

932


What is normalization and denormalization in sql server?

1016


How to backup encryption key ?

182


What is subreport?

141


How do you create a data source?

910


In case you have filters in your report, when filters will be applied in cached report instance?

113


Explain what is scheduled job and how to create it?

957


Can two tables share a primary key?

1020


What is the recovery model?

992


in the physical file layout, where should the transaction log be stored in relation to the data file?

994


Suppose you want to implement the following relationships while designing tables. How would you do it?a.) One-to-oneb.) One-to-manyc.) Many-to-many

944


Name three of the features managed by the surface area configuration tool? : sql server security

990


Why is the need for data conversion transformations?

1067


how will add additional conditions in sql?

1104


Can foreign key be duplicate?

1060