My Oracle Support Banner

PLS-172 and SQL String Length Rules From 9i-11g Passing Argument to EXECUTE IMMEDIATE (Doc ID 473255.1)

Last updated on JULY 17, 2017

Applies to:

PL/SQL - Version 9.2.0.1 to 11.1.0.6 [Release 9.2 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 21-Aug-2012***

Symptoms

Upgrading from 9i to 10g, PL/SQL code invoking EXECUTE IMMEDIATE will fail with PLS-172 if the SQL string argument exceeds 32k.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.