If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Permissions issue with create stored proc

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-11, 08:28
jekoch jekoch is offline
Registered User
 
Join Date: Jun 2007
Posts: 12
Permissions issue with create stored proc

Has anyone hit a situation where a user id is created and available on AIX (5.3) in a specified group. The group has been assigned correct permissions for select,insert,update,delete on tables in midrange db2 version 9.5 fp4 plus schema permissions but inidividual rights have not been granted.
When the user attempts to create the sql stored proc they hit a -551 on the table access of each table accessed. A direct sql execution against the same table with the same id works just fine but from within the create stored proc it fails each time. It appears that the create stored proc is not utilizing the user group!

Please help!
Reply With Quote
  #2 (permalink)  
Old 09-16-11, 08:58
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Reply With Quote
  #3 (permalink)  
Old 09-16-11, 09:03
jekoch jekoch is offline
Registered User
 
Join Date: Jun 2007
Posts: 12
dba

that sure does answer it but boy do I hate that answer!!!!

wanted to get away from individual id management within the database.

thanks a bunch for the answer though
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On