How can I run just the statement my cursor is on in SQL Server Management Studio?

后端 未结 24 691
夕颜
夕颜 2020-12-04 17:19

As a long time Toad for Oracle user, I have gotten used to hitting Ctrl+Enter and having just the statement under the cursor be executed.

In SQL Server Management St

24条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 17:39

    Try to define macro in SSMSBoost SSMSBoost/Settings/Macros:

    Select free slot for your macro in right panel fill caption (if you want) add 2 commands to sequence: SSMSBoost.SelectCurrentStatement Query.Execute assign youur favorite shortcut and that's all.

提交回复
热议问题