Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between UNIQUE CONSTRAINT and
PRIMARY KEY?

1. There is no difference.
2. A PRIMARY KEY cannot be declared on multiple columns.
3. A UNIQUE CONSTRAINT cannot be declared on multiple
columns.
4. A table can have multiple PRIMARY KEYS but only one
UNIQUE CONSTRAINT.
5. A table can have multiple UNIQUE CONSTRAINTs but only
one PRIMARY KEY.

Answer Posted / chandrasekar.ramasamy

A table can have compite primarykey but only one unique
constraint

Is This Answer Correct ?    0 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of sql commands?

1130


what are the types of join and explain each? : Sql dba

1043


What are the string functions in sql?

984


What is data abstraction in sql?

1035


what is a primary key? : Sql dba

1041


How do I save a stored procedure?

1013


How many clustered indexes can be created on a table?

1082


how to dump a table to a file with 'mysqldump'? : Sql dba

1039


Can you join a table to itself?

1139


What does where 1/2 mean in sql?

1089


What does inner join mean?

1176


Why we use joins in sql?

987


Write a sql query to get the third highest salary of an employee from employee_table?

1077


Explain what is dbms?

1071


Can we join same table in sql?

1033