Stored procedures and temporary tables

5 pts.
Tags:
DB2 Z/OS Stored procedure
I have scenario where data needs to be inserted into a temporary table in a stored procedure and this will be read from the calling program. Which temporary table do I need to use for this? Is it the created temporary table or declared global temporary table?   Since the declared global temporary table doesn't have a catalog entry unlike the created global temp table is it possible to use that in these scenarios?


Software/Hardware used:
DB2 on Z/OS
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: