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

How to set a transaction to be read only in oracle?

1087


What is a nested table and how is it different from a normal table?

1044


What happens to the data files if a tablespace is dropped?

1053


Explain about your project and its relation to the current job position you are applying to?

997


What is the difference between count (*), count (expression), count (distinct expression)?

999


How would you best determine why your MVIEW couldnt FAST REFRESH?

1887


How to call a stored function in oracle?

1011


How different is ms access and oracle?

1029


Why does oracle 9i treat an empty string as null?

1040


How do I uninstall oracle 11g?

1105


What is parameterized cursor in oracle?

1130


How to connect to the server with user account: sys?

1010


What is flashback in Oracle?

1013


Explain the difference between replace() and translate() functions in oracle?

1026


How to convert numbers to characters in oracle?

1025