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

What is difference between sid and service name in oracle?

904


Is primary key indexed by default in oracle?

929


How can we find out the duplicate values in an oracle table?

993


What privilege is needed for a user to delete rows from tables in another schema?

1018


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

1953


How many anonymous blocks can be defined?

1101


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

1013


what is the difference between functional dependecy and multilevel dependency?

2420


How to assign data of the deleted row to variables?

1013


What is a initialization parameter file in oracle?

987


What happens to the current transaction if a ddl statement is executed?

950


Explain do view contain data?

940


How can I combine multiple rows into a comma-delimited list in oracle?

999


What is background process in Oracle?

1050


What operating systems are supported by oracle database 10g xe?

983