I want to do a process which is going to bulk update inside an sql table. I did it with excel process scope and vlookup activity. But it takes long time. I have to do it like 15000 items per each query.
So I have an excel which has two sheets ;
First sheet is table one which has a table from my querry ;
Dim counter As Int32
For Each r As datarow In dt1.AsEnumerable
If dt2.AsEnumerable.Any(Function(b) b("CategoryId").ToString.Trim.Equals(r("CategoryId").ToString.Trim)) Then
counter=dt2.AsEnumerable.ToList.FindIndex(Function(a) a("CategoryId").tostring.Equals(r("CategoryId").ToString.Trim))
r("Height")=dt2.rows(counter).Item("Height").ToString
r("Width")=dt2.rows(counter).Item("Width").ToString
r("Depth")=dt2.rows(counter).Item("Depth").ToString
r("ModifiedDate")=dt2.rows(counter).Item("ModifiedDate").ToString
End If
Next