Run Two SQL Commands One After Another
DaveyBFeb 2 2009 — edited Feb 2 2009Dear 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