How to find bind varaible value from ora-600 trace file
(Doc ID 2542091.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Goal
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)
SELECT a,b
FROM <table_name>
WHERE col1 = :1 and col2 = :2 ;
In order to get the complete sql text, you must find out those bind variables(eg: :1 and :2) value, and replace them.
Solution
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
Goal |
Solution |