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 is performance tuning db2?

1068


What is the max length of sqlca?

1221


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1187


My sql statement select avg(salary) from emp yields inaccurate results. Why?

1095


What is db2 optimizer?

1253


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

1081


What does db2 stand for?

1033


What is host variable in db2 cobol?

1084


How do I create a view in db2?

1029


What are host variables in db2?

1075


What does reorg do in db2?

1037


What is dbrm? What it contains?

1163


What is runstats db2?

1042


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

1111


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2222