Grant execute permission for a user on all stored procedures in database?

前端 未结 5 881
傲寒
傲寒 2020-12-07 14:40

I generated script from old database, created a new database and imported all data from old database. So far so good, however, no user has execute rights for stored procedur

5条回答
  •  轮回少年
    2020-12-07 14:50

    Without over-complicating the problem, to grant the EXECUTE on chosen database:

    USE [DB]
    GRANT EXEC TO [User_Name];
    

提交回复
热议问题