![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm transfering a text data field into a varchar data field and it sometimes takes a very long time. So, I want to optimize this activeXscript '************************************************* ********* ' Visual Basic Transformation Script '************************************************* ********* ' Copy each source column to the destination column Function Main() DTSDestination("CUR_FLAG") = "C" DTSDestination("NOTES") = DTSSource("Notes") END IF Main = DTSTransformStat_OK End Function I'm thinking about casting the text field as varchar to see if it improves performance. So, how do I cast or convert this text datatype to varchar. I really don't know the vb syntax. Thanks in advance for your help. Sandra |
![]() |
| Thread Tools | |
| Display Modes | |
| |