Both primary key and unique enforce uniqueness of the column on which they are defined. But by default primary key creates a clustered index on the column, where are unique creates a nonclustered index by default. Another major difference is that, primary key doesn't allow NULLs, but unique key allows one NULL only.
Subscribe to:
Post Comments (Atom)
-
Option Strict On Public Module modMain Public Sub Main () Dim maxValue As Byte = &HFF Dim posValue As UIn...
-
Module Tester Sub Main () Dim firstNumber, secondNumber As String Dim number1, number2, sumOfNumbers As Intege...
-
Changing the values of some properties is fairly easy. We'll now change the Text properties of our labels, and the Text properties of o...
No comments:
Post a Comment