dbTalk Databases Forums  

DTD Error Handler

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTD Error Handler in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jean
 
Posts: n/a

Default DTD Error Handler - 11-19-2008 , 10:59 AM






Hi,
I am trying performing a migration some data of an Oracle database to
another Oracle database using the DTS, but when something occurs wrong
my script stop.

Looking at ActiveX Script I am try:

Function Main()

On Error Goto LocalHandler

DTSDestination("TEXTO") = DTSSource("TEXTO")
DTSDestination("NUMERO") = DTSSource("NUMERO")
Main = DTSTransformStat_OK

Exit Function

LocalHandler:

‘After this test I will log the error, etc…
Resume Next

End Function

But when I run it appear an error inform syntax error at line 2.

Someone now what can I do in this case?
Thanks.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.