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.
I have a stored procedure in DDF with a temporary table.
How can i drop a temporary table in a stored procedure with a CURSOR WITH RETURN in the temporary table ?.
i don't think you can, not in the same SP. the cursor should be a pointer on the table, not a real object containing data. you can drop the table only after you move the data from the table to another destination, by the cursor.