My Oracle Support Banner

Arrays in WHERE Clauses (Doc ID 1007755.6)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version: 8.0.6.0 to 11.2.0.1 - Release: 8.0.6 to 11.2
Information in this document applies to any platform.

Goal

This bulletin discusses the use of host arrays in WHERE clauses. A SQL statement containing array variables of size n works inside Oracle like the same SQL statement executed n times with n different scalar variables (the individual array elements). The precompiler issues the error "PCC-S-0055:

Array not allowed as bind variable" only when such usage may result in an ambiguous condition.

Solution

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.