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

Where is the export dump file located?

1079


Which is better Oracle or MS SQL? Why?

4819


Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

1904


Can you tell me how to add new column in existing views?how?How is possible?

1369


What is the fastest query method to fetch data from the table?

1290


Explain an index?

1092


What is materialized view in Oracle?

1042


What is oracle and what are its different editions?

1007


How to do paging with oracle?

948


How to define a variable to match a table column data type?

936


How to write an inner join with the where clause in oracle?

991


What is a named program unit?

1016


15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

2243


How to store only time; not date and time?

957


What is a database table in oracle?

950