Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Consolidate or Decompose


Consolidate or Decompose

Author
Message
corder
corder
SSC Rookie
SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)

Group: General Forum Members
Points: 39 Visits: 298
I have an opinion question. I have a sort of round-robin sets of pulls and updates. I'm wondering viewpoints on how others might tackle this when using SSIS.

1. Receive an email with a CSV attached from system A.
2. Take CSV from system A and do inserts/updates on system B
3. Take an extract from system B and perform updates to system C.
4. Take an extract from system C and perform updates to system B and system D.

Nice and abstract huh? Anyway, number 1 I'm doing as a stand alone package because I might also get emails with attachments from other sources.

I'm thinking to also have numbers 2,3, and 4 as individual packasge because that keeps them as logically separate packages that could be tweaked independently and that could even run on widely different schedules.

I may not be giving enough information but does anyone have any thoughts?

Thanks



Jeff Moden
Jeff Moden
SSC-Forever
SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)SSC-Forever (44K reputation)

Group: General Forum Members
Points: 44778 Visits: 39845
corder (9/12/2012)
... does anyone have any thoughts?


Yes. Why are you using SSIS for any of this other than extracting the file from the email? Just do a bulk insert into a staging table, validate the data, and have at the rest as you would with any other "upsert" queries.

Also, if this is something that's supposed to happen on a regular basis, why not just have the other party setup an FTP (or SFTP) and download the files instead of messing with emails?

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
     Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
Although they tell us that they want it real bad, our primary goal is to ensure that we dont actually give it to them that way.
Although change is inevitable, change for the better is usually not.
Just because you can do something in PowerShell, doesnt mean you should. Wink

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
corder
corder
SSC Rookie
SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)SSC Rookie (39 reputation)

Group: General Forum Members
Points: 39 Visits: 298
I knew there'd be much missing in my description.

Getting it via email because it is a hosted Oracle Apps system and the people getting the file can't find any way to extract information other than sending something via email. We are going to pull Oracle in house at some point and the email part will stop. One reason this is a separate process.

System B I mentioned is a SQL Server database. There is some temp table/stored proc action going on there.

System C is Active Directory and we can make the connections in SSIS.

System D is Salesforce.com and we can use some other SSIS components.

Thanks



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search