How to fix the Oracle error PCB-00308: FOR clause is an Oracle extension?

In this post, you’ll learn more about the Oracle ErrorPCB-00308: FOR clause is an Oracle extension with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCB-00308: FOR clause is an Oracle extension

Reason for the Error PCB-00308: FOR clause is an Oracle extension

Cause: An Oracle extension to the ANSI/ISO SQL standard was used. Specifically, the FOR clause was used in an table-processing SQL statement. For example, the offending code might look like: EXEC SQL FOR :LIMIT INSERT INTO EMP (EMPNO, JOB, DEPTNO) VALUES (:EMPNUM, :JOB, :DEPTNO) END-EXEC. This informational message is issued by the FIPS Flagger when FIPS=YES.

How to fix the Error PCB-00308: FOR clause is an Oracle extension ?

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

Action: No action required. However, for ANSI/ISO compliance, do not use the FOR clause.

Tags :

Leave Your Comment