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.
On DB2 LUW, you can put the cast into a stored procedure, add an exception handler for the respective SQLSTATE and then call the stored proc from a UDF so that you can use the function in your SQL statements. Search for "Serge Rielau" and "soft_int" in your favorite search engine.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development