1. what if null values retrived from database and no null
indicator mentioned in query. What is sql code.

Answer Posted / santy

we will get the sql code "-305".

-305:- The NULL value cannot be assigned to output host
variable number because no indicator variable is specified.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the result of open cursor statement?

638


Which command is used to remove all rows from a table?

553


What is null indicator in cobol db2?

587


How do you eliminate duplicate values in db2?

688


What is dclgen (declaration generator)?

605






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

4183


What are db2 tables?

649


How to execute stored procedures?

624


How to find primary key of a table in db2?

617


How do I change the column size in db2?

598


What is alias in db2?

572


What is consistency token in db2?

644


What is db2 stogroup?

679


What is a trigger in the db2 database?

596


How can record locking be achieved in those DB2 versions which do not support it?

627