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 THE DIFFERENCE BETWEEN PRIMARY KEY(PK) CONSTRAINT
AND UNIQUE KEY(UK) + NOT NULL(NN) CONSTRAINT ASSIGN TO A
COLUMN ?
INSTEAD OF ASSIGNING PK ,WE CAN ASSIGN UK + NN TO A COLUMN.
WHAT ARE THE MARRITS AND DEMARITS BETWEEN THE ABOVE TWO?THE
ABOVE TWO ARE SAME,THEY DON'T ALLOW DUPLICATE AS WELL AS
NULL VALUES.

Answer Posted / manikanta

By default primary key maintain clusterd index,All the
records are stored in stored order.By takeing this
advantage query will be execute fast.

Unique maintain nonclusted index,All the records are not in
stored order.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an oracle database table?

1018


How to display row numbers with the records?

1084


is there a tool to trace queries, like profiler for sql server?

1145


Is it possible to insert comments into sql statements return in the data model editor ?

2569


How to join two tables in a single query using oracle?

1000


How do I limit the number of oracle database connections generated by weblogic server?

1072


Will you be able to store pictures in the database?explain.

996


How to define default values for formal parameters?

1052


Explain the blob datatype?

1078


Respected sir, Please send me technical questions related to oracle apps..

1815


What is Reduced List of Values?

2173


How to use regular expression in pattern match conditions in oracle?

1042


How to enter a new row into a table interactively?

1015


Write a trigger example in oracle?

1069


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

1062