Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Snooping the SQL issued by a client app
Perhaps this might help you. You would have to run it from another session as the other program was running. It will show the user who executed it.
1 Select username, 2 SID,
It won't help you perfectly reproduce it, but it could help you figure out the big picture.
Good luck
In article <8snnb8$l99$1_at_nnrp1.deja.com>,
CUJimmy <public_at_asd-group.com> wrote:
> I'm not a database/Oracle expert, but I have a custom 16-bit Windows
> program which extracts data from an Oracle 8i database (through SQL-
> net) to local files. It does this using embedded SQL and calls some
> stored procedures in the database.
>
> I need to find out what SQL it generates (directly or via stored
> procedures) while it runs, so I can ultimately figure out what it
does
> and write an ODBC version of the same thing (unfortunately it has no
> docs or source code).
>
> Could someone tell me if there is a way to snoop the program in this
> manner? I'm hoping that there is some Oracle or SQL-Net mode, or
other
> tool, which can dump the SQL sent from the client, or something like
> that.
>
> Thanks for any suggestions!
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Nov 02 2000 - 17:26:12 CST
![]() |
![]() |