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

Home -> Community -> Usenet -> c.d.o.tools -> create synonym with dbms_sql (Oracle8.0.5)

create synonym with dbms_sql (Oracle8.0.5)

From: <miguelangel6886_at_my-deja.com>
Date: 2000/07/21
Message-ID: <8l94ba$235$1@nnrp1.deja.com>#1/1

Hi!
I am unable to create a synonym embedded in a pl/sql function. When I use dbms_sql I get the error message: 1031: Insufficient privileges. The code is as follows:

dbms_sql.parse(cur,'CREATE SYNONYM "MYSYNONYM" FOR MGR.R_CALLEDEV',dbms_sql.native);

user MGR has privileges to create the synonym. Owner of dbms_sql is SYS and also has privileges to create a synonym.

Any help please?

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Fri Jul 21 2000 - 00:00:00 CDT

Original text of this message

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