Prompt for parameters with SQL Management Studio

2019-01-29 13:11发布

I really like the SQL tools within Visual Studio and very rarely use SQL Server Management Studio. I'm updating queries written by another developer and he used SQL Management Studio. For some reason Visual Studio is formatting the query, which makes it hard to work with.

A few of the queries have parameters in them and when I run the query in Management Studio I'm getting an error. In Visual Studio I'm used to it prompting me for the parameters. Is there a way I can tell Management Studio to prompt me for those values?

1条回答
萌系小妹纸
2楼-- · 2019-01-29 14:00

SSMS will prompt for parameters for a stored procedure, if you right click the proc and select "EXECUTE". Otherwise, no, it will not prompt for parameters.

查看更多
登录 后发表回答