ALTER SESSION returns ORA-02421 missing or invalid schema authorization identifier.
(Doc ID 848248.1)
Last updated on AUGUST 30, 2017
Applies to:Precompilers - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
*** Checked for relevance on 30-Aug-2017 ***
Attempting to execute the ALTER SESSION command with a bind variable is failing.
ALTER SESSION SET CURRENT_SCHEMA = :SCHEMA1
The error being reported is:
Using the same host variable within an INSERT works.
INSERT INTO TESTTABLE VALUES (':SCHEMA1')
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