Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Run Two SQL Commands One After Another

DaveyBFeb 2 2009 — edited Feb 2 2009
Dear All,

I have these two lines of code which I have to execute individually. Is there anyway I can get them both to run simultaneously?

CREATE TABLE TBL_DATE AS SELECT SYSDATE FROM DUAL;
CREATE TABLE TBL_DATE_2HRS_AGO AS SELECT (SYSDATE - 2/24) FROM DUAL;

Perhaps inbed them into a procedure or something? It doesn't have to be concurrent even if they are ran one after the other.

Thanks
This post has been answered by MichaelS on Feb 2 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2009
Added on Feb 2 2009
9 comments
1,010 views