My Oracle Support Banner

ORA-903 Invalid Table Name using DBMS_SQL to bind SCHEMA or TABLE Name (Doc ID 1296347.1)

Last updated on OCTOBER 05, 2022

Applies to:

PL/SQL - Version 8.0.6.0 and later
Information in this document applies to any platform.

Symptoms

When Using DBMS_SQL to create a dynamic SQL statement which passes the table name or schema name as a bind variable returns the following error:

ORA-00903: invalid table name

Code Example:

1. Create the following database objects for the use case.




Changes

 

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.