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

Can a key be both primary and foreign?

1055


How do I truncate a sql log file?

1138


How will you distinguish a global variable with a local variable in pl/sql?

1203


What is the life of an sql statement?

1076


How do you update sql?

1039


what is query cache in mysql? : Sql dba

1081


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

4464


What are sql data types?

1072


Explain the methods used to protect source code of pl/sql.

1074


Why do we use set serveroutput on?

1015


Write a sql query to convert all character to uppercase after hypen.

1486


What are database links used for?

1096


How to disable a trigger name update_salary?

1316


Define select, insert, create, delete, update, drop keywords

1095


The in operator may be used if you know the exact value you want to return for at least one of the columns.

1229