Semicolon
torsten.strauss
Posts: 271 Silver 3
in SQL Prompt
Hi Redgate Team
The following code will fails due to a missing semicolon which should be inserted automatically
BEGIN TRAN -- missing semicolon here...
WITH CTE_A
AS
(select 1)
ROLLBACK TRAN
Would be nice to see the fix in the next release - thanks!
Torsten
The following code will fails due to a missing semicolon which should be inserted automatically
BEGIN TRAN -- missing semicolon here...
WITH CTE_A
AS
(select 1)
ROLLBACK TRAN
Would be nice to see the fix in the next release - thanks!
Torsten
Tagged:
Comments
We've logged it as a bug and please keep an eye on the release note!
Tianjiao Li | Redgate Software
Have you visited our Help Center?
it seems the issue is caused by the WITH command.
Formatting the following code fails as well
Torsten
Thanks again for sharing this with us.
I've added a note to the bug report!
Tianjiao Li | Redgate Software
Have you visited our Help Center?
I'm pleased to let you know we've fixed this issue in the latest release.
Thank you.
Tianjiao Li | Redgate Software
Have you visited our Help Center?