?

Log in

No account? Create an account

Previous Entry | Next Entry

This question was asked in TCS Mumbai for fresher level position. Below goes the answer  for the same.

The whole point about unique keys is to have unique value. So it treats NULL has one the values and allows you to insert one NULL value (stressing it one NULL value) in to the table.

Below is a nice SQL Server interview question video created by www.questpond.com which talks about difference between UNIQUE Key and Primary Key

Copy right www.questpond.com

Tags

Latest Month

September 2017
S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
Powered by LiveJournal.com