How to fix the Oracle error PCB-00223: Undeclared variable “string”?

In this post, you’ll learn more about the Oracle ErrorPCB-00223: Undeclared variable “string” with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCB-00223: Undeclared variable “string”

Reason for the Error PCB-00223: Undeclared variable “string”

Cause: A variable used in a SQL statement was not declared or its name is misspelled or if option DECLARE_SECTION=YES the declaration was not in a DECLARE SECTION.

How to fix the Error PCB-00223: Undeclared variable “string” ?

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

Action: Add or correct the variable declaration.

Tags :

Leave Your Comment