| Summary: | Cannot show table in MS-SQL if database has dash in name | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Data Tools | Reporter: | Ren Junyan <Jun-Yan.Ren> | ||||
| Component: | Enablement | Assignee: | Project Inbox <dtp.enablement-inbox> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | future | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ren Junyan
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.
|