Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: identify CTAS from v$ tables

RE: identify CTAS from v$ tables

From: Joseph Amalraj <joseph_at_amalrajinc.com>
Date: Tue, 25 Apr 2006 09:31:39 -0700 (PDT)
Message-ID: <20060425163139.14799.qmail@web406.biz.mail.mud.yahoo.com>


Thanks for the quick reply.    

  I need to know the sql being run by the session.    

  Regards    

  Joseph

Christian Antognini <Christian.Antognini_at_trivadis.com> wrote:   Joseph

>Please let me know how to identify that a session is executing a
>Create Table As Select from v$ tables

If it's not a problem to get "regular" CREATE TABLE as well, you can use the following statement:

SELECT sid FROM v$session WHERE command = 1

HTH
Chris

--
http://www.freelists.org/webpage/oracle-l




--
http://www.freelists.org/webpage/oracle-l
Received on Tue Apr 25 2006 - 11:31:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US