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 do you mean by NOT NULL? When will you use it?

Answers were Sorted based on User's Feedback



What do you mean by NOT NULL? When will you use it?..

Answer / s

NOT NULL disallows nulls for the column. Primary Key must
be defined as NOT NULL or any key that you do not want to
have NULLS, becaue the default is that any column can
contain NULLs

Is This Answer Correct ?    1 Yes 0 No

What do you mean by NOT NULL? When will you use it?..

Answer / andank

NOT NULL is the keyword used define columns, when create a
table. When you specify NOT NULL to a column, that column
can not hold NULL values.

Is This Answer Correct ?    1 Yes 0 No

What do you mean by NOT NULL? When will you use it?..

Answer / s

CREATE UNIQUE WHERE NOT NULL INDEX index1
ON table(column);

WHERE NOT NULL ensures that non-null values are unique.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

Mention some fields that are a part of sqlca.

0 Answers  


how can u nderstand the sql stmts executed successfully or not ?

1 Answers   TCS,


What if we fail to give values in columns declared as NOT NULL ?

3 Answers   Cap Gemini,


What is RUNSTATS?

3 Answers  


Under what circumstances will DB2 allow an SQL statement to update more than one primary key value at a time?

1 Answers  


What is DCLGEN ?

2 Answers  


How many sub queries can you combine together ?

4 Answers   IBM,


What is view db2?

0 Answers  


How do we specify index to include or not during bind process.

0 Answers   Satyam,


What is the use of predicate?

0 Answers  


What is meant by explain?

0 Answers  


what is the use of cursors?

3 Answers   iGate,


Categories