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: Monday, March 24, 2014 9:05 PM
Points: 387, Visits: 418
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
Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: 2 days ago @ 9:42 AM
Points: 743, Visits: 1,066
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