Skip to main content

Latest Articles: SSIS


SSIS Compress File Task
Entry Date: Jul 2009 site: The Joy Of Code Rating:
keywords:SSIS; Performance;
Article Description:
It was only a matter of time following my post the other day about System.IO.Compression, before I put this into an SSIS custom task. Well, here it is.
Comments:

Excellent post... SSIS 2005 is getting old, it has some inherent limitations... no SFTP, no good tasks to consume XML, no native task to zip files !

In my case, we perform an extract and dump it into a csv file... that csv file extract it's huge, what about zipping it before transfer it over the network? (the ratio is hundred of Mb vs less than 10 Mb).

Checking in SSIS for that, we found that we can use Winzip or similar at command line level (try to convince the IT Admin to install such tool on their machines), use some commercial SSIS custom task (not expensive, about 500 $), or code it your self, using some of the open source libraries available (cowboy developer, let's reinvent the wheel :) ).

Hopefully, the folks from the Joy of Code have posted this excellent task for SSIS... zipping files task for free, excellent work !!!

Click Here To Navigate to the Article

How to identify your SQL Server version and edition
Entry Date: Jun 2009 site: Microsoft Rating:
keywords:SSAS; SSIS; SSRS;
Article Description:
This article describes how to identify your current Microsoft SQL Server version number and the corresponding product or service pack level. It also describes how to identify the specific edition of SQL Server you are using.
Comments:

Determine which version or which service pack is installed on a given SQL Server instance is not something straight forward.

In this doc you will find how to check which version of SQL Server is installed just be execution a single SELECT statement.

Click Here To Navigate to the Article

What's new in SQL Server 2008 for SSIS - Part two
Entry Date: Jan 2009 site: Blogs MSDN Rating:
keywords:SSIS;
Article Description:
Change Data Capture (CDC), Merge, Data Profiling, Visual Studio 2008, ...
Comments:

Second part of this post, interesting details (some functionallity to get changes in a DB, some other to perform merges...

Click Here To Navigate to the Article

What's new in SQL Server 2008 for SSIS - Part one
Entry Date: Jan 2009 site: Blogs MSDN Rating:
keywords:SSIS;
Article Description:
Improved Scripting, Data Flow Task Improvements, Enhanced ADO.Net Support, Import/Export Wizard, Cached Lookup
Comments:

Interesting, new stuff added to SSIS on 2008, the one that I loved is being able to use C# on custom tasks :-)

Click Here To Navigate to the Article

Get all from Table A that isn't in Table B
Entry Date: May 2008 site: sqlis Rating:
keywords:SSIS; T-SQL;
Article Description:
A common requirement when building a data warehouse is to be able to get all rows from a staging table where the business key is not in the dimension table. For example, I may want to get all rows from my STG_DATE table where the DateID is not in DIM_DATE.DateID. There are 2 ways to do this in conventional SQL. And using SSIS...
Comments:

Inserting bulk data into a table it's easy, but... having two tables that need to be synchronized is that an straight forward task

This article explains how to copy all the rows from an origin table to a destination one, taking into consideration that somes rows doesn't exists (insert / create) and some other yes (update)

you will find two SQL script solutions and two based on SSIS

Click Here To Navigate to the Article

How to format columns when exporting to excel in SSIS
Entry Date: Jan 2008 site: Cubido Rating:
keywords:SSIS; Office; Excel;
Article Description:

When exporting data to csv files, it is not possible to format columns when opening the csv file in excel without any macros or user actions. E.g. when you export the value 012 and open the file in Excel, the value will be displayed as 12. Even if you export the value as '012, "012" or "'012" the result after opening in Excel is not satisfying as the value is now shown as '012.

Comments:

SSIS is a bit limited when generating Excel, you can just generate plain data.

This post explains you a trick to add formatting to your tabular reports, the tricks consists in format an Excel file and use it as template (Excel destination but not over a new file, write over an existing one). This solution won't work for all scenarios, and won't give you all the formatting that you expect, but at least it's something to try before going for a custom script task (XMLSS, Open XML, ...)

Click Here To Navigate to the Article

SSIS: Checking for IsNumeric()
Entry Date: Dec 2007 site: Blogs Conchango Rating:
keywords:SSIS; VB .net;
Article Description:

Many ex-DTS users are miffed that the SSIS expression language does not have an equivalent of the VB Script IsNumeric() function that is used so extensively in DTS and to be honest, its a fair shout.

As I said above, the SSIS expression language does not have an IsNumeric() function so the Derived Column component cannot be used to do the same. Script Component to the rescue!!! The following code inside a script component will achieve the same.

Comments:

Sometimes you have to import a column that you suposse that is numeric but comes as string (e.g. a CSV file, or a staging table where all the fields are text), SSIS does not have an already made box for this task... but you can always use .net in SSIS !!

This articles explains you how to check if a given column / row value is numeric using SSIS and a .net script task.

Click Here To Navigate to the Article

Loading and Running a Remote Package Programmatically
Entry Date: Oct 2007 site: MSDN Rating:
keywords:SSIS; ADO .net; Web Services;
Article Description:
To run remote packages from a local computer that does not have Integration Services installed, start the packages so that they run on the remote computer on which Integration Services is installed. You do this by having the local computer use SQL Server Agent, a Web service, or a remote component to start the packages on the remote computer. If you try to start the remote packages directly from the local computer, the packages will load onto and try to run from the local computer. If the local computer does not have Integration Services installed, the packages will not run.
Comments:

How to launch an SSIS job from a remote machine (e.g. an ASP .net application hosted on an IIS).

You will find two approaches on using ADO .net (calling a system stored proc) the other one via Web Service.

Click Here To Navigate to the Article

SSAS One Year Later - What we have learned?
Entry Date: Sep 2007 site: Microsoft Download Rating:
keywords:SSAS; SSIS; SSRS; Performance; MDX;
Article Description:
Lessons learned, migrating from SQL Server Analysis services 2000 to SSAS 2005.
Comments:

Very interesting slide deck about lessons learned migrating from 2000 to 2005 (SSIS, SSAS, and SSRS).

One of the most interesting points are cases where performance was lower after the migration... why? Bad migration practices, try maintain a lot of legacy code, massive use of wizards...

Another interesting area covered are the limitations of the current product.

Click Here To Navigate to the Article

Build Your Own Analysis Services Cache-Warmer in Integration Services
Entry Date: Sep 2007 site: Chris Webb BI Blog Rating:
keywords:SSAS; SSIS; Performance; Cache;
Article Description:

Cache-warming is one of the most neglected performance-tuning techniques for Analysis Services: perhaps it seems too much like cheating? Yet almost everyone knows how much difference there can be executing a query on a cold cache and a warm cache so there should be no excuse not to be doing it, especially if you know what queries your users are likely to be running in advance.

Comments:

you can find a lot of resources about proactive caching and SSAS (meanwhile a cube is being updated hold a copy of the cube to let the users run meanwhile the cube is processed)

That's nice, but... What about MDX caching?

If your users are browsing "canned" reports, you can take advantage of SSRS caching features (quite easy to use and quite useful).

But... if your clients are using ad-hoc reporting tools (e.g. Proclarity Professional or Excel BI capabilities), you can see how your cube/servers can throw a low performance.

Normally cube data, has a latency (e.g. the cube is updated every day, or every week), so for sure a lot of similar MDX queries are executed over and over consuming CPU cycles and memory. Why not take advantage of SSAS, MDX native cache?

This article explains you how to create an SSIS cache warm up process.

To create the source of MDX queries to feed that SSIS process, you can just use profiler, or log that MDX queries, do not forget to clean up the cache once the cube has been updated

Click Here To Navigate to the Article

Using Fuzzy Lookups for Record Linkage
Entry Date: Jul 2007 site: SQL Server Central Rating:
keywords:Validation; SSIS;
Article Description:
SQL Server Integration Services (SSIS) includes two very interesting transforms, the Fuzzy Grouping and Fuzzy Lookup transformations. Brian Norberg discussed the former in another article and this time examines the Fuzzy Lookup Transformation.
Comments:

Very basic intro to Fuzzy Lookups on SSIS.

Use fuzzy lookups when you want to find possibly repeated entries (e.g. a client with same name, a typo on last name, but same phone number is a candidate).

Click Here To Navigate to the Article

Page (1) Of 2 Next Articles >>