How to fix the Oracle error PCC-00145: This statement can only be used with THREADS=YES?

In this post, you’ll learn more about the Oracle ErrorPCC-00145: This statement can only be used with THREADS=YES with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCC-00145: This statement can only be used with THREADS=YES

Reason for the Error PCC-00145: This statement can only be used with THREADS=YES

Cause: EXEC SQL ENABLE THREADS or one of the EXEC SQL CONTEXT statements has been used, even though option THREADS is set to NO.

How to fix the Error PCC-00145: This statement can only be used with THREADS=YES ?

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

Action: Specify option THREADS=YES or remove the EXEC ENABLE THREADS or EXEC SQL CONTEXT statement from the source code.

Tags :

Leave Your Comment