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 compute?

1148


What is the need of a partition key?

1025


What is user in sql?

1073


What is oracle sql called?

972


What is query optimization in sql?

1040


What are the packages in pl sql?

1063


what is 'mysqlimport'? : Sql dba

1108


How you can copy a file to file content and file to pl/sql table in advance pl/sql?

1182


what is the bond code in materialized view?

3057


Does sql require a server?

1055


What is the default isolation level in sql server? : Transact sql

1080


What is an inner join sql?

1097


What is trigger in sql? Explain

1039


What is difference between rank () row_number () and dense_rank () in sql?

1157


Can you join views in sql?

994