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 / umapathy.r

The column holding the primary key constraint cannot accept
null values.whereas colum holding the unique constraint can
accept null values assume that t3 is a table with two
columns t1 having primary key constraint and t2 having
unique constraint if u try to insert null into t2 it will
accept that values whereas column t1 will not accept null

Is This Answer Correct ?    1164 Yes 121 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is SQL Tuning Advisor in Oracle?

1181


What is a read only transaction in oracle?

1029


How to create a new table in oracle?

1157


What is translate in oracle?

1100


Difference between oracle's plus (+) notation and ansi join notation?

1105


What is the purpose of tables, private synonyms and public synonyms in Oracle?

1046


What is data block in Oracle?

1116


How can Oracle users be audited?

1115


Differentiate between post-database commit and post-form commit?

1047


How to create an oracle database?

1041


What are the database administrators utilities available?

1032


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

1034


How to check the oracle tns settings?

1047


What is an anonymous block?

1254


What is the difference between a hot backup and a cold backup in oracle?

1017