What are the challenges you face when working across database platforms? Take the survey
Options

Formatting byg

sdkssdks Posts: 44 Bronze 2
edited June 24, 2015 7:28AM in SQL Prompt
Hi, wrong formatting. If you remove comment, then it formats good. I've just updated 6.6.0.180 but it was the same with 2 months earlier version
SELECT	1
FROM	a
		CROSS APPLY (
						-- IMPORTANT COMMENT THAT BREAK FORMATTING
		SELECT	1
						UNION ALL
						SELECT	1
					) a;

Comments

Sign In or Register to comment.