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 / arpit sachan

Primary key Accept only one Null Value...But a Unique key Accept one or More Null value........

create table #foo(id varchar(5)primary key,name varchar(10));

insert into #foo('','Your name');

---------->> see the result.....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set up autotrace for a user account?

1110


What are a collation and state the different types of collation sensitivity?

1234


What is a tns service name?

1056


What is a system tablespace?

1132


What is the difference between post-database commit and post-form commit?

1284


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

2116


How can I create database in oracle?

1066


List out the difference between commit, rollback, and savepoint?

1091


1) What is ONE_SIZE_FITS_ALL approach? 2) Explain the Common & Variable Header of DATA FILE? 3) What are the Drawbacks to using OMF DB? and the Advantages? 4) List out the Advantages of Undo T.spaces over the Undo SEGMENT? 5) Difference between the Temporary tablespace with TEMPFILE and the Tablespace with TEMPORARY Keyword? 6) What are the situation extents are freeing for reuse.

2142


Give the different types of rollback segments.

1077


How to invoke the data pump import utility?

1225


How to define an oracle sub procedure?

1228


What will be the syntax to find current date and time in format "yyyy-mm-dd"?

1063


What are the uses of Database Trigger ?

1784


How a database is related to tablespaces?

1081