PL/SQL: ORA-01744: Inappropriate INTO After to 19c Upgrade Using SELECT INTO inside WITH clause
(Doc ID 2744858.1)
Last updated on APRIL 17, 2023
Applies to:
PL/SQL - Version 12.2.0.1 and laterInformation in this document applies to any platform.
Using SELECT INTO query inside WITH clause of a PL/SQL Function or Procedure
Symptoms
If you are using SELECT INTO query inside WITH clause of a PL/SQL Function or Procedure then it fails with below error:
Error: PL/SQL: ORA-01744: inappropriate INTO after 19c upgrade
Explained with an anonymous block below:
DECLARE
v1 number;
v2 number;
BEGIN
with w1 as
( select empid into v1 from emp)
select empid from w1;
end;
/
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 |
Cause |
Solution |
References |