Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Data Management

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

    Search

    XML Feeds

    Google Ads

    « Red Gate’s new SQL Index ManagerSQL Advent 2011 Day 8: UNPIVOT »
    comments

    Developing SSIS is only as restricting and time consuming as the development studio in which we are forced to develop in.  With SQL Server 2012, Visual Studio 2010 shell has been adopted.  This has been a long winded complaint from the community - having to install BIDS 2008 and also Visual Studio 2010 on most development machines.  Well, that isn’t a complaint any longer.  I never had much of a problem with the two installs, side-by-side.  In fact, in most cases, as a consultant, I have to have both full versions of 2008 and 2010 installed anyhow.  Let’s not go there though.  The problem has been solved thanks to the SQL Server Product Teams and we now have one ruling development platform.

    Aside from BIDS, SQL Server Data Tools and the like, there are a few tools that I would find it hard to live without.  These tools add value to maintaining SSIS packages, rapid development and performance tuning.  They are: Expression Editor & Tester, BIDS Helper, and one I found more recently, SSIS Configuration File Editor.

    Expression Editor & Tester

    Expressions in SSIS are not as easy as writing C# or VB.NET, in my opinion .  I find that is common among most professionals developing anything in SSIS or SSRS.  These two share the same pain of expressions being used widely throughout them in order to achieve true dynamic mobility.

    Expression Editor & Tester allows us to develop and test expressions outside of BIDS or SQL Server Data Tools.  That alone is a major efficiency gain in not having to slow down machines while having an integrated development environment open and running while writing expressions and ensuring they work properly.  In most cases, design phases of our SSIS pinpoint areas that will require expressions to be used.  This may be for connections or simply a derived table expression that is required.

    The Expression Editor & Tester is a standalone executable that can be placed anywhere in your file system.  It must be accompanied by the ExpressionEditor.dll.  To make the task easier of making this tool quickly accessible, create an All Programs listing for it.  To do this, create a shortcut to the ExpressionTester.exe and place it in the Programs folder.  For example, this would be on my machine

    C:\Users\tkrueger\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\ExpressionTester.lnk

     

     

     

    Expression Editor has all the same system variables and functions that are listed in the editor within BIDS and Data Tools.  For example, let’s take a look at a common need; adding date and time to a backup file name.  Now using the editor, build the expression using the same names for the variables to locate the backup share, database and server name.

     

     

    In this case the expression was written (wrong at first, I might add) and Evaluated.  This was done without requiring BIDS or anything else open.  It is a very thin executable and extremely useful and valuable to being more efficient in getting your expressions written quickly.

    The documentation on Codeplex on this tool is quite good and goes into depth on the tool.  The example I used is similar to the one used there.  This is mostly due to this task being so common I suspect.  It was the first and best expression I came up with to show the tool in use.

    Tomorrow we will go over BIDS Helper which is arguably the most valuable tool that is on Codeplex for SSIS.

    About the Author

    Ted Krueger is a SQL Server MVP and has been working in development and database administration for 13+ years. Specialties range from High Availability and Disaster / Recovery setup and testing methods down to custom assembly development for SQL Server Reporting Services. Ted blogs and is also one of the founders of LessThanDot.com technology community. Some of the articles focused on are Backup / Recovery, Security, SSIS and working on SQL Server and using all of the SQL Server features available to create stable and scalable database services. @onpnt
    Social SitingsTwitterLinkedInLTD RSS Feed
    557 views
    Instapaper

    No feedback yet

    Leave a comment


    Your email address will not be revealed on this site.

    Your URL will be displayed.
    (Line breaks become <br />)
    (Name, email & website)
    (Allow users to contact you through a message form (your email will not be revealed.)