Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Scalar-valued Function Security Access Expand / Collapse
Author
Message
Posted Friday, May 17, 2013 4:19 PM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, April 25, 2014 7:47 PM
Points: 388, Visits: 421
There is a scalar-valued function on prodcution that is not replicated to our report server (which I need it to be). In the meantime, the DBA simply scripted the function (from prod) and ran it on the replica server. She can see it, but no one else could. I can see it on a couple of our other DB's where the db_executor security is set (because I'm a member of that group or higher on those DB's).

Doesn't the DBA have to add the security of public or something that would grant access for the report tool and users to access function?

(let's not get into why this function is used in reporting... that's a whole nother ball of wax, case of beer, and thread!)
Post #1454206
Posted Saturday, May 18, 2013 9:13 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Wednesday, December 17, 2014 8:47 AM
Points: 839, Visits: 1,198
If this is scalar valued function, you have to give Grant Execute Permission on the function.
On TVF you have to give Grant Select.
Post #1454266
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse