Closed erapade closed 5 years ago
I can't reproduce this eg on poorsql.com:
https://poorsql.com/?inputString=CREATE+TABLE+%23calendardst+(%5Byear%5D+INT+PRIMARY+KEY)
Do you have a more specific reproduction case? Is the issue presenting in a particular tool?
I tried to reproduce in Azure Data Studio (the tool i think I used before), but I can't reproduce the fault either, so I close this ticket.
As the heading says. temporary table names are not handled correctly:
For CREATE TABLE #calendardst ([year] INT PRIMARY KEY)
The formatted code looks like below CREATE TABLE # calendardst ( [year] INT PRIMARY KEY );
Please note the space between # and the tableName. This also happens on all references to the table name