How to see the actual Oracle SQL statement that is being executed

后端 未结 6 1007
清歌不尽
清歌不尽 2021-01-31 03:53

I\'m using a custom-built inhouse application that generates a standard set of reports on a weekly basis. I have no access to the source code of the application, and everyone te

6条回答
  •  一生所求
    2021-01-31 04:35

    Yep, that's definitely possible. The v$sql views contain that info. Something like this piece of code should point you in the right direction. I haven't tried that specific piece of code myself - nowhere near an Oracle DB right now.

    [Edit] Damn two other answers already. Must type faster next time ;-)

提交回复
热议问题