How to fix the Oracle error PCC-00094: Array length for char[n] datatype must be >= 2?
In this post, you’ll learn more about the Oracle ErrorPCC-00094: Array length for char[n] datatype must be >= 2 with the details on why you receive this error and the possible solution to fix it.
Oracle Error Description
PCC-00094: Array length for char[n] datatype must be >= 2
Reason for the Error PCC-00094: Array length for char[n] datatype must be >= 2
Cause: When MODE={ANSI | ANSI14}, a length of less than 2 characters for a char[n] host variable was specified or a simple char variable was specified. When MODE={ANSI | ANSI14}, the length must be at least 2 characters. This message is issued only by the Pro*C precompiler.
How to fix the Error PCC-00094: Array length for char[n] datatype must be >= 2 ?
You can fix this error in Oracle by following the below steps
Action: Correct the declaration so that it specifies a length of at least 2 characters.
Leave Your Comment