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 differance unique key and primary key.

Answer Posted / madhu

unique key:
1.unique key will accept more than one null value.
2.whenever u created a unique key, then internally one non-clustered index will be created(one table can have more than one Non-clustered index).
3.one table can have more than one unique key.
Primary key:
1.One table should have one primary key only.
2.primary key will not accept null values.
3.whenever u created a primary key then internally one clustered index will be created(one table can have only one clustered index).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a query to display the current date in sql?

966


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

1375


What is the advantage of nosql?

990


How do I view a view in sql?

886


Explain the difference between sql and mysql.

1000


What is integrity in sql?

979


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

2166


Can we call stored procedure in function?

903


Can a composite key be null?

905


Explain what is rdbms?

990


How is sql used in oracle?

968


What is a design view?

883


What are conditional predicates?

986


What is Materialized View? In What Scenario we Use Materialized View?

9392


What is a record in a database?

989