Stop SSMS from scripting SPs using sp_executesql?

旧时模样 提交于 2019-12-04 00:25:47

Turn off the "Include IF NOT EXISTS" option.

It's at Tools..Options, then click "Scripting" on the explorer pane of the dialog that pops-up. the "IF NOT EXISTS" option is in the second group from the top (Object Scripting options).

Execute SQL Task Editor (General Page)

Look at the "QueryIsStoredProcedure" and "BypassPrepare" options

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!