I need to track the value of bind variables to a query that returns an Oracle error.
Since the queries that return errors are not drawn in v$sql_bind_capture
and v$sqlarea
, I can't look at these tables.
Then I created a trigger after Servererror and logged the query in a trace table created by me. Unfortunately the bind variables are not traced (I read :p0
, :myVar
, etc...).
How can I do to track the value of these variables if I have not access to the session ?