Hello -
I have a ssis package i'm running on a schedule every month. New requirement is that i have to add a column to the destination table saying onPreviousMonth? Yes or No. Condition would be If the Claimid is on the data file of last month then i want to have the dest column OnPreviousMonth? as "Yes" otherwise 'NO'
How to achieve it? Im confused what exactly is the transformation i should use or process?
Here is the query i have
select |
[Prod Line], |
[LOB], |
[Policy], |
[Insured Name], |
[Claim#], |
[Claim Seq#], |
[Claimant Name], |
[On Previous Report?], |
[Benefit Type], |
[Previously Med Only], |
[Ever Med Only], |
[Last Trans Date], |
[Injury Date], |
[Claim Setup Date], |
[Loss Setup Date], |
[Closed Date], |
[Reopened Date], |
[Days Open], |
[Litigation], |
[Arbitration], |
[Lien], |
[Status], |
[Adjuster Ofc], |
[Adjuster Name], |
[Adj Supervisor], |
[Total Incurred Categories], |
[Total Incurred], |
[Total Pymts], |
[Total Resrvs], |
[Total Recvrs], |
[Indemnity Incurred], |
[Medical Incurred], |
[Legal Incurred], |
[Expense Incurred], |
[Other Incurred], |
[Loss Incurred], |
[ALAE Incurred], |
[ULAE Incurred], |
[Indemnity Pymts], |
[Medical Pymts], |
[Legal Pymts], |
[Expense Pymts], |
[Other Pymts], |
[Loss Pymts], |
[ALAE Pymts], |
[ULAE Pymts], |
[Indemnity Resv], |
[Medical Resv], |
[Legal Resv], |
[Expense Resv], |
[Other Resv], |
[Loss Resv], |
[ALAE Resv], |
[ULAE Resv], |
[Indemnity Rcvrs], |
[Medical Rcvrs], |
[Legal Rcvrs], |
[Expense Rcvrs], |
[Other Rcvrs], |
[Loss Rcvrs], |
[ALAE Rcvrs], |
[ULAE Rcvrs], |
[RunDate], |
[AsOfDate] |