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.
Hi all,
i have next problem: i need make view based on declared global temporary table.
i can make procedure, open cursor, but i dont know how to return values using table function.
some ideas?
thanks.
version 8.2.3 LUW
__________________
Beer contains just a small amount of vitamines - that's why it's necessary to drink lot of it.
i need make view based on declared global temporary table
Why? Even if you could, I can't think of a reason that you'd want to.
Code:
The DECLARE GLOBAL TEMPORARY TABLE statement defines a
temporary table for the current session. The declared temporary table
description does not appear in the system catalog. It is not persistent and
cannot be shared with other sessions. Each session that defines a declared
global temporary table of the same name has its own unique description of
the temporary table. When the session terminates, the rows of the table are
deleted, and the description of the temporary table is dropped.
jsharon1248: i need obtain set of values from another system. all features, that you describe, makes from temporary table ideal candidate for restriction of result set. i have some existing application based on view. i cannot use temporary table with this view. in oracle this is possible.
__________________
Beer contains just a small amount of vitamines - that's why it's necessary to drink lot of it.
jsharon1248: i need obtain set of values from another system. all features, that you describe, makes from temporary table ideal candidate for restriction of result set. i have some existing application based on view. i cannot use temporary table with this view. in oracle this is possible.
I do not understand what you want to do. Can you elaborate further?