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!

udf from dts 1

Status
Not open for further replies.

lucyv

Programmer
Mar 11, 2002
152
0
0
US
Is it possible to call a user defined function from a DTS package??

Thanks for any help!
 
How would I reference it... This is what I have but I am not having any luck

Function Main()
DTSDestination("isbn") = fn_leos_ISBNconv(DTSSourc"Col001"))

Main = DTSTransformStat_OK
End Function

Where fn_leos_ISBNconv is the function.

Thanks for your help!!
 
I am going from a text file t a table but I an to run the function on one of the columns. I am in the Active X Script Transformation window... I don't see a source tab.

Thanks!!
 
Are you importing with a Transform Data Task?
Double-click on the black line and it will pop up
It doesn't matter really since you can't do it like this if you import from a text file
import into a staging table then apply your function when you insert into the 'real' table

Denis The SQL Menace
SQL blog:
Personal Blog:
 
Yes I am using Transform Data Task. So I guess I cannot access the function through the Active X script?

Thanks for all your help!
 
Thanks again for all your help!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top