Sripting task - what can I use it for ?
Hi all,
Just wondering what you all do with scripting that cannot be done with the standard controls.
I am teaching myself C# to apply it to scripting and was just wondering the above.
Any replies from you Guru's would be welcome.
thanks.
March 29th, 2011 10:57am
Sometimes, there is work to do and it's not possible with standard controls or not so easy to do.
For Ex. filling variables with complex logic
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 11:21am
Here are a few Script Task examples (file tasks such as unzipping/file properties):
http://microsoft-ssis.blogspot.com/search/label/SCRIPT%20TASK
And some Script Component examples (such as regular expressions, looping through columns with reflection, custom sources):
http://microsoft-ssis.blogspot.com/search/label/SCRIPT%20COMPONENT
Please mark the post as answered if it answers your question | My SSIS Blog:
http://microsoft-ssis.blogspot.com
March 29th, 2011 11:24am
http://www.sqldev.org/sql-server-integration-services/understanding-how-to-use-script-task-component-31191.shtml
Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 11:27am
To be short: everything you can't do with the built-in components/tasks of SSIS but possible with .NET.MCTS, MCITP - Please mark posts as answered where appropriate.
March 29th, 2011 11:46am
Loads of stuff. use anything in the .net framework e.g. Regular Expressions. Try reading Don Farmer's book on the subject for ideas:
http://bookmooch.com/detail/1932577254
A tip though - don't arbitrarily learn to use a component before you know that you need it. Once you have a use in mind you can channel your learning to something specific rather than flailnig around. Just my opinion.http://sqlblog.com/blogs/jamie_thomson/ |
@jamiet |
About me
Free Windows Admin Tool Kit Click here and download it now
March 29th, 2011 12:03pm
Thnaks all - excellent replies. I just marked the last one as Answer.
March 29th, 2011 12:07pm