How to resolve the -305 error code in DB2?
And also please let me know, how to resolve the db2 error
codes.

Answer Posted / yogesh

- 407 : Column in the table is defined as "NOT NULL", but
an INSERT or UPDATE is done to make the column as 'NULL'

-305 : Trying to FETCH or SELECT a null value from the
column of a table to a output host variable, which doesn't
have a null indicator declared for the host variable.

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sqlcabc has?

633


How to connect to db2 database from windows command line?

562


What is multi row fetch in db2?

610


What is catalog database in db2?

646


What is meant by explain?

662






What is null indicator in db2?

604


What is the physical storage length of date data type?

732


What is a page in db2?

611


How to rename a table in DB2 ?

641


Who uses db2?

576


What is blu acceleration in db2?

608


Is db2 relational database?

574


How to resolve deadlock issue

17988


What are the benefits of using the db2 database?

662


What is the difference between cursor and select statement?

615