Closed bharris6avera closed 3 weeks ago
Input data
Which SQL and options did you provide as input?
Select * From #temp as A left join table as B on A.ID = B.ID
Expected Output
Actual Output
Unable to format SQL: Error: Parse error: Unexpected "#temp as A" at line 4 column 5
Usage
This works fine, but you have to select Transact-SQL as the SQL dialect that you're formatting.
I guess you're probably using this library through prettier-plugin-sql. Just configure dialect: 'transactsql'
dialect: 'transactsql'
Input data
Which SQL and options did you provide as input?
Expected Output
Actual Output
Unable to format SQL: Error: Parse error: Unexpected "#temp as A" at line 4 column 5
Usage