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

Difference between primary key and unique key ?

Answer Posted / hemendra singh chaudhary

In the Table a primary key constraint column cannot holding
the null values.whereas unique constraint colum can holding
the null values.
Ex.|--------------------|
| ID(P) | Name(U) | #ID(P) ->It's a Primary Key
|--------------------| * Its a Not Null
| 1 | Hemendra | * A table Contain 1 Primary
| 2 | Neeraj | Key.
| 3 | PremJe | #Name(U)->It's a Unique Key
|NotNull |canbe Null| * Its can contain Null Value
|--------------------| * A table Contain more
than 1 unique Key.

Please Check the Radio Button..........
******************Gud Luck********************

Is This Answer Correct ?    45 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain an index?

1135


what's query optimization and without use of IN AND Exist can we get another way data from query

2141


what are steps for interface? where is exchange rate defined in which table?

2161


What is query image?

982


Can we convert a date to char in oracle and if so, what would be the syntax?

1016


6. Display the client name and order date for all orders using the traditional method.

2308


How can we view last record added to a table?

1038


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

979


Explain what are the uses of rollback segment?

1016


How to handle a single quote in oracle sql?

1053


What is a static data dictionary in oracle?

1113


What are the tools for Oracle ?

1062


what is IDE,DMV in sql server?

2822


What is the maximum number of triggers that can be applied to a single table?

1027


How to write date and time literals in oracle?

1002