SSMS Tips and Tricks 3-8: Selecting and modifying rectangular regions
I often see people doing very repetitive editing tasks that could easily be carried out by using selecting and changing rectangular regions of code.
The simplest example of doing this is to insert some text on a number of rows. Take the following code as an example:
I’ve got the skeleton of a list of columns in a CREATE TABLE statement but let’s assume that I’m a comma in front person and want to put a few spaces and a comma, etc. in front of each column after the second.
2025-07-12