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.
creating a temporary table and access it in UDF functions
Please find the code for creating a temporary table and access it in UDF functions.
While we do this we obtain a compile time error stating "A declared temporary table cannot be used in the given
context."
As a work-around, you can put the DGTT statement into a stored procedure along with all processing on the DGTT and then call this procedure from a UDF.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Thanks for your timely response, could you please tell me how do this with a sample code snippet, because am not a db guy and trying my level best to solve this problem.
It would be a great favor if you could help me out on this.