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

What do you understand by a database object? Can you list a few of them?

1020


Difference between the “verify” and “feedback” command?

1372


Is rowid unique in oracle?

1003


Can we insert data in view oracle?

1045


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

1036


Explain the use of rows option in exp command.

1095


What is a cognitive schema?

978


What is java oracle used for?

1030


Can we use bind variables in oracle stored procedure?

957


Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.

2007


What is tns entry?

1162


Explain what are the uses of rollback segment?

1017


What do you mean by redo log file mirroring?

1037


Why do we use bulk collect in oracle?

1063


What do database buffers contain?

1040