Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create custom scalar functions for use in SSIS

Status
Not open for further replies.

ddiamond

Programmer
Apr 22, 2005
918
0
0
US
I'm attempting to re-write an ETL solution with SSIS that was originally written using MS Access 97. The Access 97 solution contains a lot of custom VBA scalar functions that encapsulate business logic. These scalar functions are used to create derived columns in many different queries. The idea is that when the business logic changes, we simply modify the VBA function rather than modifying each query that calls the function.

For the new SSIS solution, it would make sense to use a derived column transformation that references a .net (c#) function in the derived column expression. But this will only work if I can share the .net function across multiple packages. Is that possible? For example, if I compiled all of the custom functions into a dll, would it be possible for the packages to reference that dll?

Using a scripting component isn't an option because I want to be able to reuse the code in multiple packages, and I don't want to have to update each package when the business rules change.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top