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

Can we use more than one null value for unique key?

Answer Posted / arika

We can insert duplicate nul values in palce of using unique
key constrint.Because all nulls are not equal.


ex:-
select * from emp where comm=null;
explenation;
here equal operator not support null value because
all nulls are not equal
ex:-
select * from emp where comm is null;
explenation:
'is' operator suport null

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between % rowtype and type record.

1397


Is sql difficult?

1229


Explain commit, rollback and savepoint.

1056


What is sqlcontext?

1147


What is the use of sql trace?

1006


How to add new employee details in an employee_details table with the following details

1137


how many columns can be used for creating index? : Sql dba

989


What is mutating error?

1008


how to include comments in sql statements? : Sql dba

999


Can sql developer connect to db2?

1104


What are predefined functions in sql?

1109


Explain constraints in sql?

1088


What is structural independence and why is it important?

1074


what is offset-fetch filter in tsql? : Transact sql

1000


What is the purpose of normalization?

1088