Easy way to convert exec sp_executesql to a normal query?

后端 未结 10 1250
一整个雨季
一整个雨季 2021-01-31 09:37

When dealing with debugging queries using Profiler and SSMS, its pretty common for me to copy a query from Profiler and test them in SSMS. Because I use parameterized sql, my q

10条回答
  •  伪装坚强ぢ
    2021-01-31 09:58

    I am not aware of an existing Add-In that can do this. But you could create one :)

    A few regular expressions and some string concatenation and after that sell it to Vinko and other souls looking for this functionality.

    If you're feeling like diving into this, here is some information on creating an SSMS addin: http://sqlblogcasts.com/blogs/jonsayce/archive/2008/01/15/building-a-sql-server-management-studio-addin.aspx

提交回复
热议问题