dbTalk Databases Forums  

Privileges issue

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Privileges issue in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
CenturionX
 
Posts: n/a

Default Privileges issue - 12-22-2008 , 04:08 PM






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.

Reply With Quote
  #2  
Old   
Michel Cadot
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 01:26 AM







"CenturionX" <darwinbaldrich (AT) gmail (DOT) com> a 馗rit dans le message de news:
2f3f6e57-3cf3-4821-b4b7-e15f42193fe4...oglegroups.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/...rocedures.html

Regards
Michel



Reply With Quote
  #3  
Old   
Michel Cadot
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 01:26 AM




"CenturionX" <darwinbaldrich (AT) gmail (DOT) com> a 馗rit dans le message de news:
2f3f6e57-3cf3-4821-b4b7-e15f42193fe4...oglegroups.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/...rocedures.html

Regards
Michel



Reply With Quote
  #4  
Old   
Michel Cadot
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 01:26 AM




"CenturionX" <darwinbaldrich (AT) gmail (DOT) com> a 馗rit dans le message de news:
2f3f6e57-3cf3-4821-b4b7-e15f42193fe4...oglegroups.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/...rocedures.html

Regards
Michel



Reply With Quote
  #5  
Old   
Michel Cadot
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 01:26 AM




"CenturionX" <darwinbaldrich (AT) gmail (DOT) com> a 馗rit dans le message de news:
2f3f6e57-3cf3-4821-b4b7-e15f42193fe4...oglegroups.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/...rocedures.html

Regards
Michel



Reply With Quote
  #6  
Old   
CenturionX
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 08:03 AM



Thanks Michel,

Very useful.

Reply With Quote
  #7  
Old   
CenturionX
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 08:03 AM



Thanks Michel,

Very useful.

Reply With Quote
  #8  
Old   
CenturionX
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 08:03 AM



Thanks Michel,

Very useful.

Reply With Quote
  #9  
Old   
CenturionX
 
Posts: n/a

Default Re: Privileges issue - 12-23-2008 , 08:03 AM



Thanks Michel,

Very useful.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.