(I will simplify...)
A table with 45M records which increases day by day.
Each night, I have to replace a table in which I have to remove HTML, CSS tags from a nvarchar(max) field
and also convert GMT to UTC from datetime fields (8).
I tested with scalar functions but it was really slow, it takes many hours....
Which is the best way (in term of performance) to do that? I don't need a SQL query, just to explain the way/method...
thank you!
Precision: I have to extract overnight 45M records from a commercial product (I don't have control on the software) and redirect datas to our "home" database on another SQL Server...
I tried many methods, example... SQL - Remove all HTML tags in a string
Convert Datetime column from UTC to local time in select statement
but it's really slow...