Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Conditional SSIS Package

$
0
0

Hello All,

I am new to SSIS.  I've created a simple SSIS package before that's grabs data from one server and populate a table on another server.  This is a schedule job.  Pretty simple.

The issue I have, which I only know part of what to do is this......I need to create a conditional SSIS package by Department by Month based on a date range to sum the amount for each month.  I've been working on this for quite some time.  I really need help.

For example....ACCOUNTING

Sum(CASE WHEN DATE1 >= '2014-06-01' AND DATE1 < '2014-07-01' THEN amount ELSE 0 END) As 'JUNE 2014'

Thank You,

Artnette


Viewing all articles
Browse latest Browse all 24688

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>