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 > Privileges for execute explain in tables.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-01-11, 13:49
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
Privileges for execute explain in tables.

Hi Colleagues,

Somebody can say me what or how is the previleges that will be to have a user for execute explain in tables of database. db2 9.5.

Thank you for advanced.
Reply With Quote
  #2 (permalink)  
Old 03-01-11, 14:01
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
I don't know offhand, but the DB2 documentation usually will list the privledges required for each command.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 03-01-11, 19:24
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You need enough privileges to either use or create your explain tables, plus whatever privileges are required for the statement that you are trying to explain.
Reply With Quote
  #4 (permalink)  
Old 03-02-11, 03:28
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
In 9.5

The authorization rules are those defined for the query statement specified in the EXPLAIN statement. For example, if a DELETE statement is used as the explainable statement, the authorization rules for the DELETE statement are applied when the DELETE statement is explained.

The authorization rules for static EXPLAIN statements are those that apply to static versions of the statement passed as the explainable statement. Dynamically prepared EXPLAIN statements use the authorization rules for the dynamic preparation of the statement passed as the explainable statement.

The current authorization ID must have INSERT privilege on the explain tables.
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 03-02-11, 14:18
georgipa georgipa is offline
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
Hi,

Somebody can say me where there are information about privileges explain in tables.

Thank you.
Reply With Quote
  #6 (permalink)  
Old 03-02-11, 17:45
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
syscat.tabauth
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