Community
Participate
Working Groups
Build Identifier: I20090611-1540 Create database inside MS-SQL server called "dash-test", create table under database. Connect to MS-SQL with sqlserver enablement. When selecting 'schemas', it shows error as below. "Incorrect syntax near '-'." Reproducible: Always
Ren, feel free to look at the MSSQL enablement code to see if you can find a way around this. I suspect that it's in the catalog loader that's grabbing tables with a custom SQL script. If you create a patch and verify that it works on your end we'll see if we can get it applied.
Created attachment 195813 [details] patch for this bug A database name with dash character cannot be used in query directly in MS-SQL. There some sqls contain catalog name in enablement, which has risk when the name has dash. Now we quotes the catalog name by '[]', so that the query could be executed well.