How to find bind varaible value from ora-600 trace file
(Doc ID 2542091.1)
Last updated on NOVEMBER 13, 2019
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
Sometimes when ora-600 error occurs, you might wan to get the related sql statement and execute it again to see whether you can reproduce the same issue,but from the sql statement, you find out that there are some bind variables in it, such as the following(:1 and :2 and so on):
----- Current SQL Statement for this session (sql_id=49pk1ccqhs5dj)
WHERE col1 = :1 and col2 = :2 ;
In order to get the complete sql text, you must find out those bind varaibles(eg: :1 and :2) value, and replace them.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document