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 > priviledge in store procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-03, 15:42
bbfung bbfung is offline
Registered User
 
Join Date: Nov 2003
Posts: 18
priviledge in store procedure

Does the SQL in a SQL stored procedure follow the priviledge of the user that create the stored procedure or the user that execute the stored procedure? Any pointer to documentation?
Reply With Quote
  #2 (permalink)  
Old 12-02-03, 16:43
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: priviledge in store procedure

Owner of the SP package , which can be found using the implemetation column of the syscat.procedures and the pkgname column of the syscat.packages tables ...

This is for Version 7 ... Version 8 is a bit different in how it handles SP authorizations ...

Which verion are you on ?

Cheers
Sathyaram




Quote:
Originally posted by bbfung
Does the SQL in a SQL stored procedure follow the priviledge of the user that create the stored procedure or the user that execute the stored procedure? Any pointer to documentation?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 12-03-03, 09:11
bbfung bbfung is offline
Registered User
 
Join Date: Nov 2003
Posts: 18
Re: priviledge in store procedure

Thanks, I am on Version 7. Does application development guide talk about this?

Quote:
Originally posted by sathyaram_s
Owner of the SP package , which can be found using the implemetation column of the syscat.procedures and the pkgname column of the syscat.packages tables ...

This is for Version 7 ... Version 8 is a bit different in how it handles SP authorizations ...

Which verion are you on ?

Cheers
Sathyaram
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