WHAT IS THE DIFFERENCE BETWEEN CANDIDATE KEY ,COMPOSITE KEY
AND PRIMARY KEY.
THAN U.

Answer Posted / sakthi

Primary key:
It is an unique identifier, it wont allow null value, in a
table there will be only one column as primary key.

Composite key:

It same as Primary key but combination of more that one
column.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between set and select?

583


What are the tables in sql?

632


You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?

1727


Does sql server 2016 have ssms?

519


John exports information periodically from a microsoft sql server database to an oracle database what is the best way to do this?

534






What is transaction server consistency?

553


What is SQL Server?

663


What happens if null values are involved in bitwise operations?

608


What are the properties of sub-query?

585


Write a program using SQL queries to find a unique entry in a table.

550


Can a cursor be updated? If yes, how you can protect which columns are updated?

523


What are the dmvs?

575


What is the full meaning of dml?

533


Explain different forms of normalization?

534


List some of the rules that apply to creating and using a ‘view’

500