标签: sql-server stored-procedures
我运行了以下脚本但我的用户仍然无法执行任何存储过程。所以,我想知道是什么阻止了我的用户?
USE [MYDB] GO CREATE ROLE [DB_Sproc] GO USE [MyDb] GO ALTER ROLE [DB_Sproc] ADD MEMBER [MYUser] GO use [MYDB] GO GRANT EXECUTE ON SCHEMA ::dbo TO [DB_Sproc] GRANT EXECUTE TO [DB_Sproc]