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
Unable to Bulk Insert with NVARCHAR(MAX) Column #81
Comments
I'll look into this when I get a chance unless another maintainer beats me to it. |
I'm going to track this here: tediousjs/tedious#197 |
Thanks @bretcope, closing this one. |
@calebbriggs sorry for the delay in figuring out the problem. I've pushed a fix to Tedious which makes Bulk Load work for me with |
@bretcope updated my mssql and ran my tests. All are passing now with flying colors. Appreciate the help. |
@bretcope are your tests still passing on this we were using a number larger than 4000 |
What do you mean by "did not work"? That's essentially nothing to go on. There probably should be a test for |
Problem I am having is that we already have a full schema setup and have quite a few columns that are NVARCHAR(MAX) in the database.
When doing a bulk insert into one of these tables we get the following error:
For testing, If we run an alter script to change the column to NVARCHAR(3999) and modify the bulk insert code accordingly, everything goes through just fine. However, altering all of these columns is not an option.
Any ideas or suggestions?
The text was updated successfully, but these errors were encountered: