How to fix the Oracle error PCC-00102: FOR UPDATE is an Oracle extension?
In this post, you’ll learn more about the Oracle ErrorPCC-00102: FOR UPDATE is an Oracle extension with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCC-00102: FOR UPDATE is an Oracle extension
Reason for the Error PCC-00102: FOR UPDATE is an Oracle extension
Cause: An Oracle extension to the ANSI/ISO SQL standard was used. Specifically, the FOR UPDATE OF clause was used in a cursor declaration. For example, the offending code might look like: EXEC SQL DECLARE emp_cursor CURSOR FOR SELECT ENAME, SAL FROM EMP WHERE DEPTNO = :dept_number FOR UPDATE OF SAL; This informational message is issued by the FIPS Flagger when FIPS=YES.
How to fix the Error PCC-00102: FOR UPDATE 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 UPDATE OF clause.
Leave Your Comment