|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 8:07 AM
Points: 1,221,
Visits: 2,614
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, November 03, 2010 2:32 AM
Points: 1,249,
Visits: 400
|
|
Really nice article, with a lot of how-to's.
I cannot stop raving about the added flexibility, such as what is described in the article, which will make SSIS king of all ETL tools for years to come.
If you want to really get funky, add an ADO enumerator on top of this (for example, if you are processing an archive with 300 files, all with a datestamp attached, and you want to move them to monthly archive folders which dont exist, have a SQL task that strips out the month and adds distinct months into the ADO enumerator). This will allow you to add folders for the respective month, and a for each file enumerator inside the for each ADO enumerator, with a restrictive wildcard will allow you to only move those files belonging to the month you just created.
Also, add some package configurations, which will allow you to port your solution to any environment.
Key requirement is naturally that the SQL server agent account has write access to the folder.
My 5 cents worth.
~PD
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, March 04, 2011 1:09 AM
Points: 56,
Visits: 101
|
|
Hi, I can't do the example. How can ı do? I couldn't find the window in the first picture ( IN sql 2005 management studio)
|
|
|
|
|
SSCarpal Tunnel
       
Group: General Forum Members
Last Login: Yesterday @ 1:35 AM
Points: 4,789,
Visits: 1,336
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 8:07 AM
Points: 1,221,
Visits: 2,614
|
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 8:55 AM
Points: 1,865,
Visits: 556
|
|
Also, in the example in this article you can do away with the SQL statement and enter the expression directly into the variable.
+ Select the variable and go to it's properties. + Change the option "EvaluateAsExpression" to true, then click in the Expression option and open the expression builder. + Use this to build your variable's value.
Just another way in SSIS to get things done.
Life: it twists and turns like a twisty turny thing
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, April 28, 2009 9:41 AM
Points: 5,
Visits: 22
|
|
wow, what great timing, thanks Ken!
I have just been given an assignment to produce something exactly like this and earlier solutions I found seemed quite cumbersome.
|
|
|
|
|
Right there with Babe
      
Group: General Forum Members
Last Login: Thursday, February 14, 2013 12:01 PM
Points: 743,
Visits: 900
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, April 28, 2009 9:41 AM
Points: 5,
Visits: 22
|
|
found this article yesterday and had my on solution running and also passing the variables between packages by the end of the day!
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, February 21, 2013 7:02 AM
Points: 24,
Visits: 169
|
|
Cheers for this.
Guys could you help me with the next step in my SSIS package. Am using the first part to create my folders but i want to use the ftp task next so i can download the files in to that newly created directory. But am having trouble passing the variable to teh ftp task as teh remote path.
Any help would be great.
|
|
|
|