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 difference between UNIQUE constraint and PRIMARY KEY
constraint ?

Answer Posted / naren

When ever you create a primary key constraint on perticular
column in a table it creates clustered index by default,
it cannot allow null values and a table having only one
primary key constraint. But in the case of Unique Key
constraint, it allow only one null value, it creates non-
clustered index by default and a table having multiple
unique key constraints.


Regards
Naren Krishna

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster join or subquery in oracle?

995


What is the data pump export utility?

1082


What is instant client oracle?

1022


What is the usage of merge statement?

1154


How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?

2263


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

2009


Explain the use of analyse option in exp command.

1128


How to manage transaction isolation level?

1006


what are steps for interface? where is exchange rate defined in which table?

2161


What is an external table?

1021


How to insert a record into a table?

1071


Explain the use of record length option in exp command.

1067


How to list all indexes in your schema?

1093


What is the difference between pre-select and pre-query?

1221


How to run create database statement again?

1158