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 WITH DEFAULT? When will you
use it?

Answer Posted / kumar

Using 'NOT NULL WITH DEFAULT' you can also specify you own
values. INTEGER, SMALLINT will assigned with zero, CHAR,
VARCHAR will be assigned with spaces. DATE, TIME, TIMESTAMP
will be assigned with system DATE, TIME & TIMESTAMPE values
respectively.

As the table is declared with 'NOT NULL WITH DEFAULT',
there is no chance of getting the null values during data
fetch.

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by cursor?

953


When the like statement is used?

1170


What is an instance in db2?

993


What type of database is db2?

921


What is sqlca’s maximum length?

1112


What is null indicator in db2?

1056


Give a brief description of db2 isolation levels?

1022


What is db2 command?

980


What are the two types of logging in the db2 database? Explain them.

1027


Explain about open switch business continuity software?

1082


What is the maximum number of columns in a db2 table?

1228


what is diffrence b/w file-aid tool and file-aid utility???

4828


What is the function of logging in the db2 database?

1079


What is null indicator in cobol db2?

1002


How does a cursor work?

933