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

How to use "startup" command to start default instance?

1100


How can I get column names from a table in oracle?

1102


How to test null values?

1154


What is a cognitive schema?

1033


How to define default values for formal parameters?

1093


How to end the current transaction in oracle?

1070


What is oracle instant client?

1067


What is system tablespace?

1147


How to connect ms access to oracle servers?

1056


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

1107


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

2038


How to convert characters to numbers in oracle?

1112


What is execute immediate in oracle?

1077


What is a database table in oracle?

1069


What is the best way to do multi-row insert in oracle?

1107