Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Incorrect syntax near the keyword 'WITH' BulkMergeAsync #642

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Bug: Incorrect syntax near the keyword 'WITH' BulkMergeAsync #642

merged 1 commit into from
Nov 13, 2020

Conversation

stefandevo
Copy link
Contributor

Fixes #640

@mike_pendon
SQL Server with Alias + Hints Syntax:

  • INSERT, DELETE, UPDATE has an identical syntax (i.e.: SELECT * FROM Table T WITH (NOLOCK)).

  • MERGE has different syntax (MERGE INTO Table WITH (TABLOCK) T).

You cannot just switch that, otherwise you will get a syntax error.
@SQLServer

@mikependon mikependon merged commit da3378d into mikependon:master Nov 13, 2020
@mikependon
Copy link
Owner

Thanks @stefandevo for this PR. Will issue a beta for you this weekend, including all the other updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Incorrect syntax near the keyword 'WITH' BulkMergeAsync
2 participants