Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Location
    DC
    Posts
    123

    Unanswered: Learning SSIS Expressions

    Does anyone have information regarding using ssis expressions as in examples... websites... outside of books online

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    I would use expressions as an "example" of what NOT to do in SSIS.
    But hey, that's just my experience.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    Jun 2006
    Location
    DC
    Posts
    123
    elaborate please

  4. #4
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Avoid putting logic in your ETL tools. They should E (extract) and L (load) only. Use them to transfer data to staging tables, and then use stored procedures to process the data in the staging tables. This is much more robust and easier to debug than scattering business logic across multiple platforms and technologies.
    All that fancy stuff in SSIS? Don't use it.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  5. #5
    Join Date
    Jun 2004
    Location
    Long Island
    Posts
    696
    Quote Originally Posted by blindman
    Avoid putting logic in your ETL tools. They should E (extract) and L (load) only. Use them to transfer data to staging tables, and then use stored procedures to process the data in the staging tables. This is much more robust and easier to debug than scattering business logic across multiple platforms and technologies.
    All that fancy stuff in SSIS? Don't use it.
    Agree, I inherited DTS jobs with ActiveX scripts embedded 2 levels deep in a datapump task and it took me days to find out what was being done where. This guy was doing pre-deletes via a lookup in the transform data task that took me quite a while to find.

    I guess I have to bite the bullet and learn SSIS already, tired of creating DTS job on 2K then migrating to 2005 servers. Are there any 1 or 2 day courses out there, hard to find anything <= 3 days.

  6. #6
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Real men don't take courses. That's like stopping to ask for directions.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  7. #7
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    The less you know about SSIS the better; then you only use data flow tasks and Execute SQL tasks for everything - thus simplifying the entire package
    George
    Home | Blog

  8. #8
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    I am going to break with orthodoxy here and say that without using the "evaluate as expression" setting on the variables in SSIS I do not know how to pass parameters into SSIS so that I can pass arguments to stored procedures from SSIS.

    I have a bunch of date driven packages. The stored proc that fires the packages do not know the dates until execution time. I pass the parameters into SSIS as user variables and then in SSIS my "Expression" variable concatenates the stored procedure name with the parameter to run the proper extractions.

    I guess you could kludge around this by storing variables in the database but that seems so clumsy.

    But I have some SSIS expressions I like to use but they all involve 4 letters words that the Morality police around here would object to.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  9. #9
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    Quote Originally Posted by blindman
    Real men don't take courses. That's like stopping to ask for directions.
    agreed. there are not enough legal sedatives to get me though any tech classes.
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  10. #10
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Quote Originally Posted by Thrasymachus
    agreed. there are not enough legal sedatives to get me though any tech classes.
    In my experience, tech classes ARE legal sedatives.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •