How to Select Non Contiguous lines in SMSS 17.9

Viewed 158

In Microsoft text products like Word and One Note, one can select multiple lines that are not next to each other by holding down ALT and selecting said lines. Is there a way to do this SQL without constantly having to cut and paste thing around? For example:

enter image description here

I want to run both queries at the same time but cannot without moving them next to each other

1 Answers

SMSS 17.X is based on Visual Studio 2015 Shell. SSMS 18.x uses Visual Studio 2017 15.9.11 shell.

You need to upgrade to get multi caret support. In the most recent version(s) of SSMS and since Visual Studio 2017 version 15.8 you can hold down Ctrl+Alt and select non contiguous areas with the mouse.

Below screenshot is using SSMS 18.5

enter image description here

Related