Migrating from SQL Server to ORACLE ¿what to do with temporary tables? -
Currently we use SQL Server and we have a lot (read around 5000) fly temp tables There are different scripts.
Now we are migrating to Oracle, so we can not make fly over temporary tables.
Any thoughts?
Thank you in advance
You probably need a temporary table whenever , Then you might want to dynamically create tables with execute immediately
:
- Create a table and execute immediately q! Make a table tmp_foo_bar (col_1 number, col_2 varchar2 (50), etc.) '; End; / - Use the table: enter values in tmp_foo_bar (42, 'forty-two', sysdate); - Skip table: Execute 'drop table tmp_foo_bar' immediately; End; /
Comments
Post a Comment