How to fix the Oracle error PLS-00215: String length constraints must be in range (1 .. 32767)?

In this post, you’ll learn more about the Oracle ErrorPLS-00215: String length constraints must be in range (1 .. 32767) with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00215: String length constraints must be in range (1 .. 32767)

Reason for the Error PLS-00215: String length constraints must be in range (1 .. 32767)

When a character variable was declared, a length outside the legal range was specified. For example, the following declarations are illegal: flag CHAR(0); — illegal; zero length name VARCHAR2(-10); — illegal; negative length

How to fix the Error PLS-00215: String length constraints must be in range (1 .. 32767) ?

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

Change the length constraint, making sure that it lies in the range 1 .. 32767.

Tags :

Leave Your Comment