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 are different types of statement?

942


What are the different types of collation sensitivity in sql server?

1033


What is tcl in sql server?

1074


what is a self join? : Sql server database administration

957


Explain the difference between clustered and non-clustered index?

869


How to find the login name linked to a given user name?

939


What are the disadvantages of indexes?

994


What happens if you delete a table that is used by a view?

939


What are commit and rollback in sql?

1048


What are data driven subscriptions?

104


Explain error handling in ssis?

961


Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?

910


What are the differences between union, intersect, and minus operators?

1015


How you can add messages to the nt event log from within a stored procedure?

988


Why I am getting this error when dropping a database in ms sql server?

1014