How to fix the Oracle error PLS-00428: an INTO clause is expected in this SELECT statement?

In this post, you’ll learn more about the Oracle ErrorPLS-00428: an INTO clause is expected in this SELECT statement with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00428: an INTO clause is expected in this SELECT statement

Reason for the Error PLS-00428: an INTO clause is expected in this SELECT statement

The INTO clause of a SELECT INTO statement was omitted. For example, the code might look like SELECT deptno, dname, loc FROM dept WHERE … instead of SELECT deptno, dname, loc INTO dept_rec FROM dept WHERE … In PL/SQL, only a subquery is written without an INTO clause.

How to fix the Error PLS-00428: an INTO clause is expected in this SELECT statement ?

You can fix this error in Oracle by following the below steps

Add the required INTO clause.

Tags :

Leave Your Comment