DeveloperJr
Programmer
Hi,
The problem is that I have a table contains historical data I have to import in the system. Before doing so, I am cleaning the data up as much as I can to match our standards.
One problem is, I have some related records (let’s say the order lines of an order) of which only one records populate some fields, the rest of the records have null for the same fields.
ID OrderID Field1 Field2 MoreFields
1 100 Value1 Value2
2 100 NULL NULL
3 200 ValueX ValueY
4 200 NULL NULL
I want to update the records that share the same parent (OrderID) with the information that exist in one of them. I know how to do this in programming languages like C#.
The problem is that I have a table contains historical data I have to import in the system. Before doing so, I am cleaning the data up as much as I can to match our standards.
One problem is, I have some related records (let’s say the order lines of an order) of which only one records populate some fields, the rest of the records have null for the same fields.
ID OrderID Field1 Field2 MoreFields
1 100 Value1 Value2
2 100 NULL NULL
3 200 ValueX ValueY
4 200 NULL NULL
I want to update the records that share the same parent (OrderID) with the information that exist in one of them. I know how to do this in programming languages like C#.