c# and SQL interview question :- What is the difference between uni

Add to Favourites
Post to:

Description
Unique key can have nulls
Primary key cannot have nulls.

In a single table we can create multiple unique keys.In a single table we can have only one primary key.
=============================================
Unqiue key creates a non-clustered index by default.Primary Key created a clustered index by default.
================================================
Both unique keys and primary keys can be referenced by foreign key.

Comments

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
143 Members Recommend
231 Followers

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect