Primary key:
1) Primary Key Restrict Duplicate values and Null values.
2) Each Table can have only one primary key possible.
3) Primary key default clustered index.
unique Key
1) Unique key Restrict Duplicate values and allow one null values
2) Each table can have only one unique key.
3) unique key default non clustered index
Foreign key:
1) Parent Table child Table Relation ship.
2) which values am inserting parent table those values only i can able to insert child table .
Example
create table table2(empid int references table1 (table1.columname),empname varchar(90))
sriram
Shanky11, if this helps please login to Mark As Answer. | Alert Moderator