Try this:
<pre>SELECT
username users, sql_text, Executions, loads, users_executing
FROM
sys.v_$sqlarea a, dba_users b
WHERE
a.parsing_user_id = b.user_id
AND b.username LIKE UPPER('%&user_name%');</pre>
Last Wiki Answer Submitted: April 17, 2009 7:55 pm by carlosdl63,580 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.