How can we help you today? How can we help you today?

Additional semicolon

Hi redgate Team!

Formatting the following code introduces an unneeded semicolon between GO and WITH.
A semicolon before the WITH clause is only needed within the same batch...
CREATE TABLE dbo.Heap
(
	col1 int NOT NULL
);
GO
; -- THIS SEMICOLON IS INTRODUCED

WITH cte
AS
	(
		SELECT 1 AS test
	)
SELECT * FROM cte;
GO

Version 9.0.4.3408

Thanks for fixing this!

Torsten
torsten.strauss
0

Comments

1 comment

  • krzysztofkroczak
    Hi @....strauss,

    Sorry for your inconvenience. I've reproduced the problem and I logged that task with ticket: SP-6775.

    Best regards,
    Krzysztof Kroczak
    krzysztofkroczak
    0

Add comment

Please sign in to leave a comment.