Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: identify CTAS from v$ tables
Joseph,
How about:
select sid, sql_text
from v$session a, v$sql b
where a.sql_address = b.address
and command = 1
Dennis Williams
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Apr 25 2006 - 12:48:56 CDT