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

How to create function with parameter in sql server?

1088


Can you name a few encryption mechanisms in sql server?

927


What is a transaction and why is it important?

1069


What are the ways available in sql server to execute sql statements?

1095


What are the purpose of Normalisation?

1039


Can you tell me about the concept of ER diagrams?

1048


Determine when to use stored procedure to complete sql server tasks?

1036


What is merge replication?

1092


How you can find out if an index is useful to the optimizer?

921


Why SQL Agent is used?

1120


List some advantages and disadvantages of stored procedure?

1006


State the difference between union and union all?

918


List out a number of the wants to setup a SQL Server failover cluster?

1047


Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.

1016


What samples and sample databases are provided by microsoft?

1025