Define candidate key, alternate key, composite key.

Answer Posted / raghuram

Candidate Key is a Key which identifies each row of a table
uniquely. Generally a Candidate Key becomes a Primary Key
of the table. If table has more than one Candidate Keys
then one is called Primary key and rest are called
Alternative Keys.
A key is formed by two or more columns is called Composite
Keys.

Is This Answer Correct ?    80 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain view in sql server?

607


What are the methods used to protect against sql injection attack?

554


How to disable a login name in ms sql server?

578


What are the approximate numeric data types?

525


Can I work with several databases simultaneously? : sql server management studio

549






What is difference statement and preparedstatement?

535


How do you troubleshoot errors in a SQL Server Agent Job?

547


What will be query used to get the list of triggers in a database?

534


What is 3nf normalization?

552


what is a self join? Explain it with an example? : Sql server database administration

489


Differentiate between a local and a global temporary table?

532


What is the native system stored procedure to execute a command against all databases?

526


What is nolock hint in sql server 2008

621


What is a result set object returned by mssql_query()?

564


Can we use where and having clause together?

498