... creating and dropping of the table on every execution of the procedure is not a good idea, because it will consume a lot of resources. Much better is to use the temporary table already created, so no parsing will be needed. Also, the temporary table's data are visible only in this session (even after commit).
Main Topics
Browse All Topics





by: hayrabedianPosted on 2002-10-29 at 10:51:16ID: 7384356
you can create temporary table like:
CREATE GLOBAL TEMPORARY TABLE t (c1 number);
And use it in your procedure.