Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Privileges issue

 
   Database Help (Home) -> Oracle RSS
Next:  SQL Server 2005 Management Studio with SQL Server..  
Author Message
CenturionX

External


Since: Dec 28, 2007
Posts: 789



(Msg. 1) Posted: Mon Dec 22, 2008 2:08 pm
Post subject: Privileges issue
Archived from groups: comp>databases>oracle>misc (more info?)

Hello everybody,

I知 having trouble trying to run a procedure.
I have a query that retrieves information from a table X.
I run the query and it works fine.
When I put the same query in a cursor into a procedure it generates an
error
PL/SQL: ORA-01031: insufficient privileges
The user I知 using is created in one schema and the table I want to
query is in another one.
I took care of put the schema prefix for the table.
Please give a hand on this.

Thanks.

 >> Stay informed about: Privileges issue 
Back to top
Login to vote
Michel Cadot1

External


Since: Dec 10, 2003
Posts: 57



(Msg. 2) Posted: Tue Dec 23, 2008 3:26 am
Post subject: Re: Privileges issue [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"CenturionX" a 馗rit dans le message de
2f3f6e57-3cf3-4821-b4b7-e15f42193fe4.TakeThisOut@l33g2000pri.googlegroups.com...
Hello everybody,

I知 having trouble trying to run a procedure.
I have a query that retrieves information from a table X.
I run the query and it works fine.
When I put the same query in a cursor into a procedure it generates an
error
PL/SQL: ORA-01031: insufficient privileges
The user I知 using is created in one schema and the table I want to
query is in another one.
I took care of put the schema prefix for the table.
Please give a hand on this.

Thanks.

--------------------------------------------

http://asktom.oracle.com/tkyte/Misc/RolesAndProcedures.html

Regards
Michel

 >> Stay informed about: Privileges issue 
Back to top
Login to vote
CenturionX

External


Since: Dec 28, 2007
Posts: 789



(Msg. 3) Posted: Tue Dec 23, 2008 6:03 am
Post subject: Re: Privileges issue [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
Related Topics:
Locking issue from multi thread - UI Tool : VC 2005, Database: oracle OS - Window XP Hi Everyone, Given stored procedure generate new key for given key name. CREATE OR REPLACE PROCEDURE "ABILOGS"."SP_GETNEWLOGKEY" (strkeyname IN VARCHAR2,nkeyvalue OUT NUMBER) ...

Replacing a subselect with Collections - Hi all oracle users, I have a cursor which fetches a few thousand records. Inside it I have a subselect which is used for decoding one field. CURSOR snap_crs IS SELECT decode (snap.id, 1, (select code_ptr from anag_ptr where desc_ptr =..

how to refresh a sequence - How could I refresh a sequence in Oracle using an SQL statement? I've got the problem, that the current number of a sequence is less the highest index in a table, where I want to use the sequence. Regards, Robert

Using NonUnique Index to Enforce Uniqueness - Oracle manual describes using non unique index to enforce unique constraint so that the index will not be dropped with constraint is diabled. But I dont understand why non unique index can enforce uniqueness?

Triggers and Window Service - Hi, Is there a way to create an oracle Trigger that will start a window service? I am trying to get the service away from running a timer. Running Oracle 9i and windows 2K or XP Thanks
   Database Help (Home) -> Oracle All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]