0

What is the difference between primary key and alternate key?

17th Mar 2017, 4:19 PM
Mohammad Atif Niaz
Mohammad Atif Niaz - avatar
3 Answers
+ 1
Primary key can be set to just one column whereas alternate key can be set to multiple columns. Refer Online tutorials for more!
17th Mar 2017, 4:26 PM
Ashwin Arya
Ashwin Arya - avatar
0
Any key, which can act as a primary key,but isnt one is alternate key.
17th Mar 2017, 5:46 PM
Meharban Singh
Meharban Singh - avatar
0
Primary key is the value in a coloumn of a table which can uniquely identify the entire row.Sometimes there can be more one coloumn in a table which can compete to become primary key.So all those columns that has the ability to become primary key are Alternate keys and one of them selected by the database admin as Primary key.
17th Mar 2017, 6:00 PM
Pranab Kumar
Pranab Kumar - avatar