Safely execute a dynamic sql query

前端 未结 0 493
孤独总比滥情好
孤独总比滥情好 2021-01-30 23:19

Consider the dangerous stored procedure below:

ALTER PROCEDURE [dbo].[ExecDynamicSQL] 
    @sqlToExec nvarchar(2000)
AS
BEGIN
    SET NOCOUNT ON;
    exec sp_sqle         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题