Maybe I'm bit of-topic but try to analyze what are you really want to achieve. I've been working with several people who used T-TSQL and the patterns used in SQL server are different from Oracle ones. Simply do not try to exactly rewrite your code one to one.
It will not work.
For example usage of temporary table is considered to be a bad design in Oracle(in most cases). In cases where you use temp tables in T-SQL you will usually use cursors in Oracle.
Also keep in mind that SQL and PL/SQL are compiled languages(it's not real scripting). You can not (re)create a table in a PL/SQL package and then use it in the some (or other package).
When you modify an object in Oracle all the depending code has to be recompiled in background.
This is a source of many frustrations for the people who come from SQL Server onto Oracle.
It's not worse, it's just more different than it seems to be.