If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Deepak,
DB2 wants to know what data types the columns of the result set are. NULL has no intrinsic data type in of itself. You need to cast it to a data type for this to work. For example:
select cast(null as integer) from sysibm.sysdummy1