My Oracle Support Banner

OCI Fails With ORA 21700 While Binding SQLT_SLS And SQLT_INT (Doc ID 2544689.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Standard Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

In 12.2 OCI,when trying to bind a number array to a plsql index by table(i.e any table of number ) fails with ora-21700.

Observed the error for SQLT_SLS and SQLT_INT.

If the Procedure is called from an anonymous PL/SQL-Block the error does not occur. However the same code works fine in 12.1

It can be explained with the help of below example

Changes

Upgraded to 12.2.0.1

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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