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...

Difference between primary key and unique key ?

Answer Posted / omkar

In any table there can be one and only one primary key
(composite priamry key can have more than 1 column but
together conside one key only) but more than one unique
keys.

Primary key cannot accecpt null value.unique key accecpts
one or more than one null values.

primary key uniquly identifies the table but unique key is
used for uniquly identified of table as it contain one or
more than onee null.

Clustered index is created on
Primary key constraint and non clustered unique indexes is
created on Unique key constraint.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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.

1945


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

2108


How do we get field details of a table?

978


Write a syntax for update query in oracle?

1025


How to use "if" statements on multiple conditions?

1166


Give the constructs of a package, function or a procedure.

1031


What are the extensions used by oracle reports?

1033


What is a initialization parameter file in oracle?

1033


Which is better Oracle or MS SQL? Why?

4929


Explain the use of constraints option in exp command.

1044


What is a table index?

1090


Why do we need integrity constraints in a database?

1016


How to use subqueries with the in operator using oracle?

1089


What is a trigger oracle?

1082


List out the components of logical database structure of oracle database.

1030