How to fix the Oracle error PCB-00206: Cannot use N quoted literal in PL/SQL when NLS_LOCAL=YES?

In this post, you’ll learn more about the Oracle ErrorPCB-00206: Cannot use N quoted literal in PL/SQL when NLS_LOCAL=YES with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCB-00206: Cannot use N quoted literal in PL/SQL when NLS_LOCAL=YES

Reason for the Error PCB-00206: Cannot use N quoted literal in PL/SQL when NLS_LOCAL=YES

Cause: A “N” literal (a literal of the form N’…’) was used within a PL/SQL block when the precompiler option NLS_LOCAL=YES was used. N literals are not supported in this situation.

How to fix the Error PCB-00206: Cannot use N quoted literal in PL/SQL when NLS_LOCAL=YES ?

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

Action: Use an ordinary literal (one without the “N”) within the PL/SQL block or use precompiler option NLS_LOCAL=NO.

Tags :

Leave Your Comment