Question : Granted or revoked privilege EXECUTE is not compatible with object.

When I run the foll, I get the above error. The function does exist. The other functions were able to receive exec permissions...
"
grant exec on funcname TO sql_auth_user
"

thanks

Answer : Granted or revoked privilege EXECUTE is not compatible with object.

From Books Online, Grant Permissions:

Scalar function permissions: EXECUTE, REFERENCES.

Table-valued function permissions: DELETE, INSERT, REFERENCES, SELECT, UPDATE.

Stored procedure permissions: EXECUTE.

Table permissions: DELETE, INSERT, REFERENCES, SELECT, UPDATE.

View permissions: DELETE, INSERT, REFERENCES, SELECT, UPDATE.



Execute against table valued function gives you the error
Random Solutions  
 
programming4us programming4us