BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi 7 X Oracle 9i

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Ricardo Carmo
Guest





PostPosted: Tue Mar 29, 2005 12:00 pm    Post subject: Delphi 7 X Oracle 9i Reply with quote



Hi All. I need some help. My problem is:

<<< Oracle Part >>>
My_Package is a package with some functions SF_A, SF_B... SF_Z.
Hi_User is the owner user, and Lo_User is just one more user.
Lo_User have the Execute privilege for My_Package.

<<< Delphi Part >>>
DBExpress, SQLConnection using Hi_User logon properties.
SQLStoredProc works fine.
But...
DBExpress, SQLConnection using Lo_User logon properties
does not work. See below:
---------------------------
Error
---------------------------
SQL Server Error: ORA-06550: line 1, column 13:
PLS-00201: identifier 'MY_PACKAGE.SF_A' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored.
---------------------------
OK
---------------------------

Is it a DBExpress bug?
How can I to solve this problem?

Thanks.
Ricardo Carmo.


Back to top
Ricardo Carmo
Guest





PostPosted: Wed Mar 30, 2005 1:53 pm    Post subject: Re: Delphi 7 X Oracle 9i Reply with quote



Done. ( Create synonym ... )

Ricardo Carmo


"Ricardo Carmo" <rscarmo (AT) ig (DOT) com.br> escreveu na mensagem
news:424943be (AT) newsgroups (DOT) borland.com...
Quote:
Hi All. I need some help. My problem is:

Oracle Part
My_Package is a package with some functions SF_A, SF_B... SF_Z.
Hi_User is the owner user, and Lo_User is just one more user.
Lo_User have the Execute privilege for My_Package.

Delphi Part
DBExpress, SQLConnection using Hi_User logon properties.
SQLStoredProc works fine.
But...
DBExpress, SQLConnection using Lo_User logon properties
does not work. See below:
---------------------------
Error
---------------------------
SQL Server Error: ORA-06550: line 1, column 13:
PLS-00201: identifier 'MY_PACKAGE.SF_A' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored.
---------------------------
OK
---------------------------

Is it a DBExpress bug?
How can I to solve this problem?

Thanks.
Ricardo Carmo.





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.