SSIS tasks or T-sql
there is imo another Point of view, correct me if I'm wrong but for complex string operations, in T-SQL the operations are made by the DB engine, although in Data flow task, SSIS do it in a .NET in memory process. not sure if it's better in one way or another but do it in .NET allow you to create some functions and call them in a Task component. Also when transformations are very complex, it's easier to visualize a lot of little tasks. Ludovic Bouaziz - MCSD .net
January 15th, 2011 4:55am

Thats more to do with personal preference. There is no thumb rule for this. Few people like doing the manipulations in the source query itself while pulling the data and keep the package simple. Others prefer to put it on SSIS as it makes the entire ETL visible at the same place.
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2011 7:01am

However if you are joining 2 tables from the same data base it is recommended that you use a query rather than using SSIS task.
January 15th, 2011 7:02am

Hi all, Why would one choose doing logic in t-sql (substring etc) rather then using the SSIS task components?? Please help Loads of reasons. If you're not moving data between heterogeneous sources (i.e. different servers) then why bother taking it out of the database into a dataflow and then back in again? That's not to say using a datflow isn't the way way to go - there are many variables here. One thing that always influences me is that when using T-SQL you have the option to use database transactions whereas when using dataflows you're using Microsoft's Distributed Transaction Coordinator (DTC) which is different. Of course if you're not bothered about transactions then its a moot point but therein lies the key point really - your choice of whether to use T-SQL or dataflows depends on what you are actually trying to achieve. Hope that helps. -Jamiehttp://sqlblog.com/blogs/jamie_thomson/ | @jamiet | About me
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2011 7:29am

Hi all, Why would one choose doing logic in t-sql (substring etc) rather then using the SSIS task components?? Please help
January 15th, 2011 8:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics