SQL Server has a built-in extended stored procedure, named sp_sdidebug, the permission to which is necessary for a user to have the capability of debugging stored procedures.

To grant the permission, use the following T-SQL statement: (Remark: before you run this statement, you should make sure that you are using an account which has administrator privileges.)
     
 

How to enable SQL Debugging.    USE master
How to enable SQL Debugging.     
GRANT EXECUTE
How to enable SQL Debugging.     
ON sp_sdidebug
How to enable SQL Debugging.     
TO username

相关文章:

猜你喜欢
相关资源
相似解决方案