January 25, 2017 at 4:30 am
Hi combine 2 datasets that have different column names, different data and different number of columns into 1 output.
see example below.
Table 1 | |||||
Unit1 | Unit2 | Unit3 | Unit4 | ||
324 | 176 | 999 | 786 | ||
123 | 654 | 98 | 23 | ||
Table 2 | |||||
Name | Lastname | Residential | Surburb | City | Zip/Code |
Dave | Johnson | Address1 | Address2 | Address3 | Postal code |
Mutton | Murphy | Address1 | Address2 | Address3 | Postal code |
Desired output | |||||
324 | 176 | 999 | 786 | ||
123 | 654 | 98 | 23 | ||
Dave | Johnson | Address1 | Address2 | Address3 | Postal code |
Mutton | Murphy | Address1 | Address2 | Address3 | Postal code |
January 25, 2017 at 4:41 am
John
January 25, 2017 at 5:30 am
Thanks John, I was hoping that there is an alternative approach but it looks like I will have to follow your process.
January 25, 2017 at 5:35 am
Trybbe - Wednesday, January 25, 2017 5:30 AMThanks John, I was hoping that there is an alternative approach but it looks like I will have to follow your process.
OK, good luck. Really this is the type of thing that should be done in your presentation layer, rather as you did in your Excel workbook. You can also use Reporting Services. There are all sorts of problems you can run into when converting data types, if you're not careful.
John
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply