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...

what are the advantages of primary key over unique+notnull

Answer Posted / tulsi

Primary key will avoid duplicate and null values in a table
which the combination of unique+not null will do.But the
advantage is,if a table has primary key we can create
relation to child tables.

Is This Answer Correct ?    28 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to show all tables with 'mysql'? : Sql dba

1156


How to run pl sql program in mysql?

1069


What is rownum in sql?

1091


How to avoid using cursors? What to use instead of cursor and in what cases to do so?

1243


What is embedded sql with example?

1096


What is bind reference and how can it be created?

1067


What is input buffer in sql*plus?

1290


Can we use the cursor's to create the collection in PL/SQL?

1090


What is a pl/sql block?

1325


How many columns should be in an index?

1013


How do I find duplicates in a single column in sql?

1068


What are different joins used in sql?

1103


How consistent is the view of the data between and within multiple sessions, transactions or statements ?

2267


What is the use of non clustered index?

1042


Explain isolation levels. : Transact sql

1105