I want to 'flatten' two tables into one by combining the '1-n' values from the 'child' records into a single concatenated string within the parent by using queries.
I.E. create a single NVarChar field to hold all of the values that are contained in the child entries for that parent.
E.G.
Parent 1 - Child 1 Value "Big"; Child 2 Value "Small"
Parent 2 - Child 1 Value "Red"; Child 2 Value "White"; Child 3 Value "Green"
To Become
Parent 1 Values "Big / Small"
Parent 2 Values "Red / White / Green"
Any suggestions using query rather than code?
Thanyou in anticipation - Jazzer
I.E. create a single NVarChar field to hold all of the values that are contained in the child entries for that parent.
E.G.
Parent 1 - Child 1 Value "Big"; Child 2 Value "Small"
Parent 2 - Child 1 Value "Red"; Child 2 Value "White"; Child 3 Value "Green"
To Become
Parent 1 Values "Big / Small"
Parent 2 Values "Red / White / Green"
Any suggestions using query rather than code?
Thanyou in anticipation - Jazzer
Comment