eo
MIS
- Apr 3, 2003
- 809
I will use a simple dataset. This dataset shows mortgages applications, and the applicants. For applicant 100 and 200 there are single applicants per applicantion, but for application 300 there are 3 applicants.
A piece of BI needs to show the applicants up to a max of 3 each in a seperate column, so I am trying top divise some T-sql to help with this. Therefore a single record per applicantion with 3 Applicant Columns (that can be null). Such as
Any advise?
EO
Hertfordshire, England
Code:
Application Applicant
100 Smith Andrew
200 Jones Daniel
300 Collins David
300 Bush Garry
300 Busby Joe
A piece of BI needs to show the applicants up to a max of 3 each in a seperate column, so I am trying top divise some T-sql to help with this. Therefore a single record per applicantion with 3 Applicant Columns (that can be null). Such as
Code:
Application Applicant1 Applicant2 Applicant3
100 Smith Andrew NULL NULL
200 Jones Daniel NULL NULL
300 Collins David Bush Garry Busby Joe
Any advise?
EO
Hertfordshire, England