adspace


Explain alternate key, candidate key and composite key in sql server?

Answer Posted / Mohd Arif Usman

In SQL Server, a Candidate Key is a column or set of columns that can uniquely identify each row in a table. An Alternate Key is another set of columns that can also be used to uniquely identify the rows, but it's not the primary key. A Composite Key is a combination of two or more columns that together form a unique identifier for each row.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the primary use of the model database?

1151


Can you index views?

955


Why use identity in sql server?

1203


What is a scheduled job or what is a scheduled task?

1040


Why and when do stored procedure recompile?

1064


How to convert character strings into numeric values?

1192


List the ways in which dynamic sql can be executed?

1088


What is clustered index

1088


What is a view in sql?

1043


How efficient you are in oracle and SQL server?

1258


What are the different types of subquery?

1235


What are the source of constraints?

1010


How can we solve concurrency problems?

1123


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1134


Where can you add custom error messages to sql server?

1215