Parenthesis Style does not work when Join Keyword is not on new line

alphonsegalphonseg Posts: 34 Silver 1
edited March 1, 2018 10:47PM in SQL Prompt
SQL Prompt is simply great and I'm depending on it more and more. However, that means that quirks become more annoying.
When 'Place Join keyword on new line' is UN-checked and the Parentheses style is set to far left, the parentheses is aligned with the Join keyword and not placed on the far left.
SELECT
	AU.UserName
FROM
	dbo.aspnet_Users AS AU INNER JOIN
								  (
									  SELECT
											AUIR.UserId
									  FROM
											dbo.aspnet_UsersInRoles AS AUIR
									  GROUP BY
										  AUIR.UserId
									  HAVING
											COUNT(*) > 1
								  ) AS RC ON AU.UserId = RC.UserId;
Should be:
SELECT
	AU.UserName
FROM
	dbo.aspnet_Users AS AU INNER JOIN
	(
		SELECT
			AUIR.UserId
		FROM
			dbo.aspnet_UsersInRoles AS AUIR
		GROUP BY
			AUIR.UserId
		HAVING
			COUNT(*) > 1
	) AS RC ON AU.UserId = RC.UserId;
Any chance of fixing this.
Tagged:

Comments

Sign In or Register to comment.