Groups
Groups
Sign in
Groups
Groups
comp.databases.ibm-db2
Conversations
About
Send feedback
Help
Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss
Learn more
grant control on table, to run runstats via sp, not working in V9.5.0.7
34 views
Skip to first unread message
ultra...@gmail.com
unread,
Apr 25, 2013, 11:00:08 AM
4/25/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Have a stored procedure that runs the following
CALL SYSPROC.ADMIN_CMD ('RUNSTATS ON TABLE SDBXXX.TABLENAME with distribution and detailed indexes all')
Granting control to the user works.
When control is granted via the role this does not work.
SQL2311N The user does not have the authority to run the Run Statistics
utility on table "SDBXXXX.TABLENAME ".
Any suggestions?
Thank you.
Message has been deleted
0 new messages