Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Synonyms and DBMS_SQL?

Synonyms and DBMS_SQL?

From: Jerry Apfelbaum <japfelba_at_ican.ca>
Date: 1997/11/07
Message-ID: <3463D409.821A1856@ican.ca>#1/1

Has anyone else experienced any problems with running SQL DML via the PL/SQL package DBMS_SQL when the tables are referenced via synonyms?

I have some queries which fail in DBMS_SQL.PARSE (with Table or view does not exist error) but which work just fine in SQL*Plus. The referenced tables are mapped via synonyms to TableName = Schema.TableName. The queries just use TableName. DBMS_SQL works fine for tables which I own.

This would be a big inconvenience if DBMS_SQL won't work with synonyms.

-- 
=================================================
Jerry Apfelbaum           email: japfelba_at_ican.ca
Eastern Sun Group Inc.    phone:     416.240.9695 
Toronto, Canada
Received on Fri Nov 07 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US