Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How to grant select on table-valued functions and execute on scalar-valued functions to a user

$
0
0

Hi Everyone,

I need to grant a SQL user select permissions on all the table-valued functions and then execute on all the scalar-valued functions in a database.  I've use a cursor to loop through each stored procedure before but can't seem to figure out how to do something similar for functions.  Can anyone assist me with this?

 

Thanks!

Flea


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>