ORA-942 When Select Excel Table via DG4ODBC In A Procedure
(Doc ID 1380538.1)
Last updated on MAY 11, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 11.1.0.7 and laterMicrosoft Windows (32-bit)
Symptoms
Using the Database Gateway for ODBC 11.1.0.7 to connect to MS Excel , a SELECT statement executed in SQL*PLUS session is successful:
SELECT ROWNUM FROM "Sheet1$"@EXCEL;
But when it is executed from a procedure or a package it fails with ORA-00942 error:
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 |
Cause |
Solution |