The EXECUTE permission was denied on the object 'xxxxxxx', database 'zzzzzzz', schema 'dbo'

后端 未结 14 1794
梦谈多话
梦谈多话 2020-12-02 05:18

I\'m having problems executing a function.

Here\'s what I did:

  1. Create a function using SQL Server Management Studio. It was successfully created.
14条回答
  •  一整个雨季
    2020-12-02 05:33

    You can give everybody execute permission:

    GRANT Execute on [dbo].your_object to [public]
    

    "Public" is the default database role that all users are a member of.

提交回复
热议问题