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 to define output parameters in stored procedures?

959


what is the sql equivaent of the dataset relation object ?

1960


What is pessimistic concurrency?

921


What is the difference between Stored Procedures and triggers?

1033


Name few endpoints exposed by ssrs 2012?

345


What are the new features are introduced in sql server 2012 reporting services?

143


How does recursive cte works in sql server?

941


How connect excel to sql server?

929


What is Replication?

993


IF more than one Site is accessing the same Database server and I want to move the DB with Minimum down time? How will you do

1756


Which are the important points to note when multilanguage data is stored in a table?

909


Tell me what is the difference between locking and multi-versioning?

971


Is truncate autocommit?

896


Explain the dirty pages?

950


Why olap is used?

919