Hi,@insoo song
Welcome to Microsoft T-SQL Q&A Forum!
In my opinion, I recommend you to use BULK INSERT, which allows you to import data from a data file into a table or view. You can specify the format of the imported data based on how the data is stored in the file.
First, you need to filter out the modified data and save it in csv format, then try the following operations:
USE <database name>
GO
BULK INSERT <table name>
FROM <path to CSV file>
WITH (FORMAT = 'CSV'
, FIRSTROW=2
, FIELDQUOTE = '\'
, FIELDTERMINATOR = ';'
, ROWTERMINATOR = '0x0a');
Here is an article you can refer to.
Best regards,
Bert Zhou
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.