SYS_CONTEXT('userenv','current_sql') Does Not Capture The Entire SQL If Length Is More Then 256
(Doc ID 2430400.1)
Last updated on MARCH 04, 2022
Applies to:
PL/SQL - Version 11.2.0.4 to 12.2.0.1 [Release 11.2 to 12.2]Information in this document applies to any platform.
Symptoms
Trying to capture a big sql (> 256) using SYS_CONTEXT('userenv','current_sql') does not capture the entire string though smaller SQLs (<256) are captured.
It can be demonstrated with the help of below code:
Changes
Not Applicable.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |