-
Notifications
You must be signed in to change notification settings - Fork 609
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(mssql): support case-sensitive collations
This updates a few internal table and view calls to use the case-sensitive names which will allows us to (hopefully) support both case-sensitive and case-insensitive collations. The correct casing for the tables and views we use often (and the corresponding columns): Info schema tables: - INFORMATION_SCHEMA.COLUMNS - INFORMATION_SCHEMA.SCHEMATA - INFORMATION_SCHEMA.TABLES Temp table location: tempdb.dbo Catalogs: sys.databases Databases: sys.schemas I also had to swap out a stored procedure that _really_ didn't like being used with the case-sensitive collation, but I think the replacement is nicer anyway (we can push down some column selection to the engine).
- Loading branch information
Showing
3 changed files
with
57 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters