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

后端 未结 14 1785
梦谈多话
梦谈多话 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:46

    In Sql Server Management Studio:

    just go to security->schema->dbo.

    Double click dbo, then click on permission tab->(blue font)view database permission and feel free to scroll for required fields like "execute".Help yourself to choose usinggrantor deny controls. Hope this will help:)

    0 讨论(0)
  • 2020-12-02 05:47

    Sounds like you need to grant the execute permission to the user (or a group that they a part of) for the stored procedure in question.

    For example, you could grant access thus:

    USE zzzzzzz;
    GRANT EXEC ON dbo.xxxxxxx TO PUBLIC
    
    0 讨论(0)
提交回复
热议问题