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 ?

Answers were Sorted based on User's Feedback



What is difference between UNIQUE constraint and PRIMARY KEY constraint ?..

Answer / allin

The Primarykey Constraint= unique + Not Null constraints.
For the Unique the meaning it self it is telling unique
value. won't accept duplicate values.

Thanks & Regards,
RatnaRao
9833847339

Is This Answer Correct ?    9 Yes 0 No

What is difference between UNIQUE constraint and PRIMARY KEY constraint ?..

Answer / 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

What is difference between UNIQUE constraint and PRIMARY KEY constraint ?..

Answer / kiran

if unique then it can have null

but if column has primary then it cannot have null values
and duplicate values

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Oracle General Interview Questions

How to invoke the data pump export utility?

0 Answers  


what is difference between cartesian join & cross join even they give same result?

4 Answers   Bank Of America,


Why should I use oracle database?

0 Answers  


How can one skip any number of rows while loading the DB tables with SQL Loader? Similarly how can one skip any column?

1 Answers   IBM,


How to check database size in Oracle?

0 Answers   MCN Solutions,


I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database

0 Answers   EDC,


What is recovery manager(rman) backup in Oracle?

0 Answers   MCN Solutions,


What is the function of Redo Log ?

1 Answers  


Explain the function of optimizer in oracle?

0 Answers  


Why do we need integrity constraints in a database?

0 Answers  


What is the use of aggregate functions in oracle?

0 Answers  


What is a sub query and what are the different types of subqueries?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)