get the SQL_ID for the SQl statement
SQL> select ADDRESS, HASH_VALUE from V$SQLAREA where SQL_ID like '81d%';
ADDRESS HASH_VALUE
---------------- ----------
<address> <hash value>
SQL> exec DBMS_SHARED_POOL.PURGE ('address, hash value', 'C');
PL/SQL procedure successfully completed.
SQL> select ADDRESS, HASH_VALUE from V$SQLAREA where SQL_ID like '81d%';
no rows selected.
SQL> select ADDRESS, HASH_VALUE from V$SQLAREA where SQL_ID like '81d%';
ADDRESS HASH_VALUE
---------------- ----------
<address> <hash value>
SQL> exec DBMS_SHARED_POOL.PURGE ('address, hash value', 'C');
PL/SQL procedure successfully completed.
SQL> select ADDRESS, HASH_VALUE from V$SQLAREA where SQL_ID like '81d%';
no rows selected.
No comments:
Post a Comment