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 is the different between unique+not null & primary key,

Answer Posted / suresh babu

Unique:

Unique is a constraint,which doesn't allow the duplicate
values and allow only one null value.We can create more
number of unique constraint in single table.

Not Null:

Not Null constraint,which doesn't allow the Null values and
allow the duplicate values.

Primary Key:

We can create one primary key for a table,Which doesn't
allow the duplicate and null values,and used for make a
foreign key relation.we can't do this process using above
two constraints.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is an extent ? : Sql dba

1015


What are the uses of sysdate and user keywords?

1045


What is the max nvarchar size?

896


Can I create table without primary key?

937


Is left join inner or outer by default?

972


what is csv? : Sql dba

941


What is rename in sql?

915


what is “go” in t-sql? : Transact sql

1038


How to disable a trigger name update_salary?

1192


What is pls_integer in pl sql?

1029


Why do we use subquery?

940


what are local and global variables and their differences? : Sql dba

1006


Explain the commit statement.

1101


What is oracle pl sql developer?

931


What is the main difference between sql and pl/sql?

1023