How do I do the equivalent of a temp table in Oracle.
I seen CREATE GLOBAL TEMPORARY TABLE but this isnt available in the version I have.
Is there a replacement to this..
Here is the problem i have.
I have a many to many relationship TableA - TableC, so I created a link table TableB to handle this.
I need to remove all rows based on a value in tableA, problem being you need to delete TableB rows first due to ref. integrity.
I need to store the rows (and more specifically the foreign key field to table C) in temp Table so I can then delete all rows in table C.
How do people do this in Oracle at the minute?
Thanks
"I'm living so far beyond my income that we may almost be said to be living apart
I seen CREATE GLOBAL TEMPORARY TABLE but this isnt available in the version I have.
Is there a replacement to this..
Here is the problem i have.
I have a many to many relationship TableA - TableC, so I created a link table TableB to handle this.
I need to remove all rows based on a value in tableA, problem being you need to delete TableB rows first due to ref. integrity.
I need to store the rows (and more specifically the foreign key field to table C) in temp Table so I can then delete all rows in table C.
How do people do this in Oracle at the minute?
Thanks
"I'm living so far beyond my income that we may almost be said to be living apart