(1) SQL> Alter system set statistics_level = BASIC;
-- default is 'typical'.
-- remember when you set it to BASIC, many many things get traced. So this could be a potential overhead too.
-- this will start recording the bind variables in data dictionary
-- run the application till the statement(s) with bind variables are executed
(2) Find out the HASH_VALUE of the SQL you're looking for. E.g., to find out the HASH_VALUE of a SQL with RULE hint -
SQL> select sql_text, hash_value from v$sql a where sql_text like 'SELECT%RULE%'
(3)
SQL> select name, position, value_string from v$sql_bind_capture where hash_value =
January 2005 February 2005 March 2005 April 2005 May 2005 March 2006 April 2006 August 2006 September 2006 October 2006 January 2007 May 2008