-
Notifications
You must be signed in to change notification settings - Fork 12
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
For bulk_insert, expose "order" property? #82
Comments
I think this will be fairly straight forward and I can add it. Just need to get CI/CD working fully on Github Actions now that travis-ci is no longer viable. |
Looked into this tonight and the FreeTDS support for |
I really appreciate your looking into it, @joshuahlang! I'm confused regarding the passing only "one hint"; doesn't cTDS allow specification of both rows per batch and tablock simultaneously? Or is only one of them actually used? |
The |
Hello,
Are you able to expose the "order" property for bulk_insert, to tell SQL Server that the input rows are ordered the same as the clustered index? This can eliminate a server-side sort and really speed up some inserts.
I found the option in the FreeTDS docs, here:
https://www.freetds.org/reference/a00547.html#gafec3feb5bac1cb33545ba01efb0a67b8
Thanks!
The text was updated successfully, but these errors were encountered: