Quantcast
Channel: Rss Feed - SSMSBoost Add-in discussion board - Forum
Viewing all articles
Browse latest Browse all 823

DELETE formatting options

$
0
0
I have a delete statement within a stored procedure that looks like this (the way I like it formatted):

Code:
DELETE	/*dbo.DeleteOrphanedPrinterRecords*/
		c
  FROM	dbo.Computer c
		LEFT JOIN dbo.ComputerPrinter cp			ON c.Id = cp.ComputerId
		LEFT JOIN dbo.WeightScaleComputer wsc	ON c.Id = wsc.ComputerId
 WHERE	cp.ComputerId	IS NULL
   AND	wsc.ComputerId	IS NULL;


Note that the FROM, WHERE, and AND are right-aligned with DELETE, there is a tab to the right of those keywords, and the table alias is indented, and the WHERE conditions are aligned.

When I format it with SSMSBoost, I get this:

Code:
DELETE /*dbo.DeleteOrphanedPrinterRecords*/
c
FROM dbo.Computer c								
		LEFT JOIN dbo.ComputerPrinter cp				ON	c.Id = cp.ComputerId
		LEFT JOIN dbo.WeightScaleComputer wsc		ON	c.Id = wsc.ComputerId
WHERE	cp.ComputerId IS NULL
	AND wsc.ComputerId IS NULL;


What options do I need to change to get it to format it (closer to) the way I prefer? (Note that I already have Where | IndentConditions set to True.) I am running 3.0.6102.26025 (2016-09-15).

Thanks!
Go to last post

Viewing all articles
Browse latest Browse all 823

Trending Articles