sql-formatter
sql-formatter copied to clipboard
Handle Go keyword for TSQL
Handle Go
keyword as reservedNewlineWords
.
Origin SQL.
alter table t1 add n_col int null
go
update t1 set c_con=0
before
ALTER TABLE
t1
ADD
n_col int NULL go
UPDATE
t1
SET
c_con = 0
after:
ALTER TABLE
t1
ADD
n_col int NULL
GO
UPDATE
t1
SET
c_con = 0