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: Christian Antognini <Christian.Antognini_at_trivadis.com>
Date: Tue, 25 Apr 2006 18:14:15 +0200
Message-ID: <F2C9CCA71510B442AF71446CAE8AEBAF3F5A11@MSXVS04.trivadis.com>


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
Received on Tue Apr 25 2006 - 11:14:15 CDT

Original text of this message

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