How to fix the Oracle error PLS-00542: CLOB and NCLOB cannot use varying-width character sets in the server?

In this post, you’ll learn more about the Oracle ErrorPLS-00542: CLOB and NCLOB cannot use varying-width character sets in the server with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00542: CLOB and NCLOB cannot use varying-width character sets in the server

Reason for the Error PLS-00542: CLOB and NCLOB cannot use varying-width character sets in the server

A server type is being created with an embedded CLOB or NCLOB atttribute which uses a varying-width character set.

How to fix the Error PLS-00542: CLOB and NCLOB cannot use varying-width character sets in the server ?

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

Use VARCHAR2 instead of CLOB, or use a fixed-width character set.

Tags :

Leave Your Comment