Skip to main content

Posts

Showing posts from February, 2009

SSIS Insert Statement Using an OLE DB Destination

When building a SQL Server Integration Services package, many business scenarios call for inserting a record into a table if it doesn't already exist. The most commonly used database destination, the OLE DB destination, looks as though it can handle this through the SQL command Data access mode. Unfortunately, SSIS appearances can be deceiving... In the OLE DB Destination, setting the Data access mode to SQL command causes a SQL command text window to appear. You can perform typical SSIS SQL statement actions, such as building the query through the Graphical Query Designer, importing the SQL from an external file, or parsing the query. Note that there is no option to specify query parameters on this display. You will not need to set query parameters because the OLE DB Destination uses this SQL statement to find the metadata of the desired insertion table. Even adding a WHERE clause to filter the data will not change the outcome of the result. All rows passed through the D

SQL Down Under

I had the honor of being invited to join Greg Low , fellow Solid Quality mentor, on an episode of SQL Down Under .  On last week’s episode, we discussed the new features of SQL Server Reporting Services 2008 and best practices for all versions of Reporting Services.  You can check out the episode here . During the episode, Greg and I talked about reports that can be used to monitor Reporting Services.  You can find these reports on CodePlex .  Also, the design book that I mentioned is called Information Dashboard Design .  I hope you enjoy the episode and these resources!