I am new to oracle database.
Can someone give me an example of the steps for how to see the last statements executed on the Oracle database 11g r2?
I am new to oracle database.
Can someone give me an example of the steps for how to see the last statements executed on the Oracle database 11g r2?
Find all sql where sql is like ....
You need to be connected as sysdba user for this sql
Connect as SYS user and execute the following query
A couple of hints:
SELECT * FROM V$SQLAREA;
You can use the below query to get the last sql executed based on last sql which was active in database
You can also use the below to find the last query executed in your session.
You can use the below query:
if you need to know the statements of an PL/SQL object were executed then use or join with