Store cyrillic text alongwith ASCII from csv into SQL

PV 21 Reputation points
2021-06-19T05:26:15.06+00:00

I have an issue I m trying to address where there are strings which have Cyrillic characters and when loaded from csv into SQL it gets loaded as some weird characters .
As per many posts online,I tried to deal with flat file connection manager changing code page to 650001 ,output columns changed to DT WSTR and converted the SQL metadata of all columns to nvarchar.This works well but the real trouble is the table I use is being consumed by many other views which I can’t touch and these views are performing very slowly compared to what it used to.
I changed the metadata back to varchar and checked views for performance and they were faster.So the problem is with my changing to nvarchar and it’s doing implicit conversions in all those views .Problem is I can’t change those views to help solve 1 problem.
What is the other way by which I can deal with this issue?

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
Developer technologies Transact-SQL
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2021-06-21T02:43:27.933+00:00

    Hi

    As ErlandSommarskog said, more details could help us to do more analysis.

    You may share the simple data with us so that we could test locally.

    Regards,

    Zoe


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues October

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.