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

primary key not accepts null value and
not allows duplicate values.
but Unique key not allows duplicate values
but it accepts ONLY ONE NULL VALUE.

only one primary key allowed per table
we can create multiple unique keys
on the table

By Default, Primary key creates Clustered Index and Unique key Creates Non Clustered Index

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use unicode codesets with the weblogic jdriver for oracle driver?

1013


How to execute the package in oracle?

1036


How to update values in a table in oracle?

958


what is dynamic SGA and static SGA

4327


Explain the use of Merge statement in oracle 11g

975


How to run create database statement again?

1076


Can objects of the same schema reside in different tablespace?

1000


How to specify default values in insert statement using oracle?

1034


For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?

1965


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

1289


What privilege is needed for a user to create tables in oracle?

901


does the query needs a hint to access a materialized view?

1814


What happens if recursive calls get out of control?

998


21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.

2043


What is the difference between $oracle_base and $oracle_home?

1027