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

Diff between Composite key, Alternate Key, Candidate Key,
Primary Key, Unique Key, Super Key, Foreign Key

Answer Posted / sapan saxena

Super Key: All possible keys which can identify entities in
the table uniquely.
Primary Key: uniquely identify each entity in the table and
does not contain null and duplicate vales.
Composite key: The combination of two or more than two keys
which identifies entities uniquely.
Candidate Key: Nominee for the primary key.
Alternate Key: Rest of the candidate keys which is not the
primary key.
Unique Key: Same as primary key but can accept one null key
only.
Foreign Key: A foreign key is one or more columns whose
value must exist in the primary key of another table.

Is This Answer Correct ?    41 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is log ldf?

970


How do you maintain database integrity where deletions from one table will automatically cause deletions in another table?

1180


How do we Backup SQL Azure Data?

108


Which trace flags are enabled in sql server?

1001


What is the difference between a check constraint and a rule?

1228


Explain the microsoft sql server delete command? : SQL Server Architecture

1066


How the authentication mode can be changed?

1118


How can you know if the row fetched from cursor is still valid in underlying table?

993


What is report rendering ?

155


Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?

945


In which tcp/ip port does sql server run? Can it be changed?

979


what are different types of backups available in sql server? : Sql server database administration

923


What is a virtual table in sql?

983


What are the diifferences between the ms sql server vs mysql?

1161


Can you explain what is sql server english query?

989