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

parenthesis

Hi!

I am wondering if the formatting of the following statement is intended:
IF EXISTS (
			SELECT * FROM sys.server_event_sessions WHERE name = 'Waits'
	)
	DROP EVENT SESSION Waits ON SERVER;
GO

I am not able to align the parenthesis in a better way ...

Thanks!

BTW. Maybe I do not know how but it would be nice to get better formatting options in the post to suggest the formatting. Using tabs or spaces here will not lead to the expected format (at least for me)

Torsten
Friend of Redgate




Tagged:

Comments

Sign In or Register to comment.