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 / sripathi venkata ramesh

I am Sripathi Venkata Ramesh from Gudivada and the answer
is mentioned below

Primary key: A Primary key is a column or group of columns
used to uniquely identify each row in a table like
It defines the column as a Mandatory column.
The data held across the column must be unique.
By default it creates clustered index.
It does not allow null values and duplicate values


Unique key: It also for the record uniqueness.
It allows only one null value
By default it creates non clustered index

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we write insert statement in function in oracle?

1156


What is sequence?

1136


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

1413


Can we convert a date to char in oracle and if so, what would be the syntax?

1062


Explain the use of indexes option in imp command.

1259


What is a select query statement in oracle?

1026


Explain the use of constraints option in exp command.

1079


How to get a create statement for an existing table?

1013


Please explain oracle data types with examples?

1130


Difference between hot backup vs. Cold backup?

1036


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

1115


In not less than 100 words what's the main difference between Rolap and Molap in ORACLE ?

2336


How to define an oracle cursor variable?

1090


what is reindexing?

1729


How to invoke the data pump import utility?

1225