SSIS – Using a Script Component as a Source
Just a quick tutorial on using a script component as a source… Follow the link for screenshots. First things first. Add a script component to the data flow. When prompted, select “Source” as the...
View ArticleSQL Server – COUNT(expression) bug
Starting with SQL Server 2005 RTM and through the latest SQL Server 2008 build at the time of this writing, there is a pretty nasty bug with respect to the COUNT(expression) function and its rule that...
View ArticleSSIS – Avoiding the Sort Components
When using a Merge or Merge Join component in a data flow, your incoming data is required to be sorted. While it may be easy to drop a Sort component into your data flow, it may make more sense to...
View ArticleSQL Server 2005 – How to introduce data corruption without trying
It is quite easy in SQL Server 2005 to accidentally (or intentionally, I suppose) create data corruption. It’s best to just show via a demo, so here you go: (Ref:...
View ArticleBe careful with sp_configure
For those of you that work extensively with sys.dm_exec_query_stats and associated plan cache DMVs, be aware that altering the server’s ‘max degree of parallelism’ setting will flush the query plan...
View ArticleWhich SQL Client versions are connecting to my instance?
Without fully restating what’s already published, please read this MSDN Blog Post for more details on how to determine which SQL Client version is connecting to a SQL instance. Basically, SELECT...
View ArticleConnecting to a pre-SQL 2012 SSIS Instance with SQL 2012 SSMS
If you are using SQL Server Management Studio in SQL 2012 to try to connect to an older SSIS instance (SQL 2008 R2 and earlier) called “SSISServerName”, you will get an error: Connecting to the...
View Article