Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
chbala85
Starting Member
49 Posts |
Posted - 2013-07-03 : 08:58:27
|
Hi all,Please tell me in which situation script task will used in ssis packages.Brief description at least four to five situation.please.....................thanks,krsh. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-07-03 : 09:05:39
|
lots of cases. Generally, any case where you want some flexibility to do some custom processing inside SSIS which cannot be achieved using any of your native tasks in SSIS.some of the cases which immediately comes to my mind where i used script task1. Validating source data based on custom business logic as maintained by a rules engine table. The data patterns were stored as regular expression pattern for each column of source (a csv)2. Generating script on the fly based on configuration values (username,password,ip,port etc) passed for use by one of the SFTP clients3. Manipulating variable values based on some business logic (prior to SQL 2012). SQL 2012 has an expression task which you can utlize for this.4. Calling a stored procedure inside data flow engine for some custom processing on a data row based on one (or multiple) conditions.------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
|
|
|