Viewing 5 posts - 1 through 5 (of 5 total)
I updated the question details and provided the sample data.
June 20, 2020 at 7:32 pm
ChrisM@Work : took your suggestion and came up with a much better query plan. Execution was too fast within few minutes. I still got to validate the data 🙂 But...
June 19, 2020 at 9:32 pm
In your block above can I output the [existing row ID] from the source table (HouseholdTemp) without inserting it in the Locations or Individuals table ?
June 19, 2020 at 5:56 pm
Thanks for response. So if I understand it correct from the above ....
one block of insert for locations and another for individuals
INSERT into dbo.Locations ...SELECT ....FROM dbo.HouseholdTemp WHERE <conditions> --...
June 19, 2020 at 2:39 pm
Thanks for the response ChrisM@Work. This query performs way better in SQL2019. Why its not possible to get similar or even close to that response in SQL2016.
I need to get...
June 19, 2020 at 1:11 pm
Viewing 5 posts - 1 through 5 (of 5 total)