-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TrimStart and TrimEnd with optional char array implementation for SQL…
… Server (#33715) * TrimStart and TrimEnd with option char array implementation for SQL Server. Fixes #22924 * Using SqlServerCondition.SupportsFunctions2022 for LTRIM and RTRIM. Handling compatibility level to low. * Revert "Using SqlServerCondition.SupportsFunctions2022 for LTRIM and RTRIM. Handling compatibility level to low." This reverts commit e1a73e7. * Rolling back throwing exceptions gracefully. Processing trim start and end in a consistent way. * Using StringBuilder instead of List. Other minor fixes. * Only TrimStart and TrimEnd with the optional char or array must be validated by compatibility level. * Fix method matching and cleanup --------- Co-authored-by: acarrazana <acarrazana@easyworkforce.com> Co-authored-by: Shay Rojansky <roji@roji.org>
- Loading branch information
1 parent
c0c11c1
commit 9e15699
Showing
3 changed files
with
85 additions
and
41 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