How do I truncate the length of a data entry in a column. Column set to nvarchar (20) but column for import in set to MAX. I want to import these records but truncate them to max of 20 for that column only.
And is the data your importing always 20 characters or less?? Or do you not care about the rest of the data?
Do you have any control over the imported data? If you do, I would say to whom ever, please limit whatever field to nvarchar(2).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.