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 / austin johnson

we can't insert a NULL value into to coloumn holding
primary key constrain.
where as we can insert a NULL value to a unique key feild.
Remember, both keys are used to identify the
rows/tuple/entry of the table uniquely.
so, only once u can enter a NULL value into the unique key
feild.

Is This Answer Correct ?    146 Yes 57 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use select statement to count the number of rows in oracle?

985


What is oracle host variable?

978


How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?

962


What is a nvl function?

954


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1869


Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.

1692


What is the difference between view and materialized view in Oracle?

1090


How to synchronize 2 schema's objects?

2114


How to retrieve data from an cursor to a record?

1008


How we can able to import our own template (users designed MS-Word templates) which has many tabular columns; need to pass some values generate by Oracle-reports9i? Actually need to import more than 400 MS-Word templates into Oracle Reports-9i to minimize layout design in Reports.

2068


What is the difference between substr and instr?

974


How to join two tables in a single query using oracle?

928


What is a trace file and how is it created in oracle?

970


How to run create database statement?

972


In what script is snap$ created? In what script is the scott/tiger schema created?

2652