John,

Who is the vendor for EZSQL?   Do you have a web site for them?

Thanks,

Cherie Machler
Oracle DBA
Gelco Information Network


                                                                                       
                         
                    John Lewis                                                         
                         
                    <jlewis@punchnet       To:     Multiple recipients of list 
ORACLE-L <[EMAIL PROTECTED]>  
                    works.com>             cc:                                         
                         
                    Sent by:               Subject:     RE: auditing ... getting 
offending SQL ??               
                    [EMAIL PROTECTED]                                                   
                         
                                                                                       
                         
                                                                                       
                         
                    08/10/01 12:46                                                     
                         
                    PM                                                                 
                         
                    Please respond                                                     
                         
                    to ORACLE-L                                                        
                         
                                                                                       
                         
                                                                                       
                         




I use ezsql ( I got it for $50 ) to capture this kind of thing.
There are scripts out there that also do it but the ezsql
is cheap considering what it does.

-----Original Message-----
Sent: Friday, August 10, 2001 10:31 AM
To: Multiple recipients of list ORACLE-L




hi list,

i set up auditing by access on a few objects (requested by programmers
trying to figure out where their application is failing), and i was
wondering if there's any way to get the full sqltext that is causing the
error. i've searched metalink, read kevin loney's dba 8i handbook, etc.
but haven't found a way to detect the offending sql. dba_audit_object only
gives you the action_name.

dba_audit_trail does give you more information:

SQL> select sessionid, statementid from DBA_AUDIT_TRAIL;

 SESSIONID STATEMENTID
---------- -----------
    595639          16
    595639          17

2 rows selected.

but, again, i do not know how to get the sql from the above information.
or even if it's possible. never had to audit before, so this is new to me.

we are running 8.1.6.0 on solaris 2.6, and the programmers are executing
very involved, complex packages which have LOTS of DMLs...

any insight would be most appreciated. :)

thanks,
kris



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Kris Austin
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: John Lewis
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to