Granting and revoking permissions for update statistics, delete statistics, and truncate table  Granting and revoking permissions to execute commands

Chapter 17: Managing User Permissions

Granting permissions on functions

Use grant select on builtin function_name to grant a user permission to use the functions set_appcontext, get_appcontext, list_appcontext, and rm_appcontext.

The syntax is:

grant select on [builtin] function_name
to {name_list | role_list}

Where:

This grants select permission on the get_appcontext function to public:

grant select on builtin get_appcontext to public




Copyright © 2005. Sybase Inc. All rights reserved. Granting and revoking permissions to execute commands

View this book as PDF