dbTalk Databases Forums  

Numeric comparison fails to fail on remote DTS

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


Discuss Numeric comparison fails to fail on remote DTS in the microsoft.public.sqlserver.dts forum.



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

Default Numeric comparison fails to fail on remote DTS - 07-07-2005 , 12:29 PM






This one is hard to explain but I will try.

I have a DTS process that calls another DTS process (using the ActiveX
script object). Within the called DTS process I have a code loop that breaks
once a numeric comparison fails.

e.g. if (MyCurrentNumber < TheMaxNumber) then "continue the loop" else
"break out of the loop"

My problem is this. When I run the DTS process within the IDE the logic
works.

However when I attempt to run the DTS from the calling DTS the logic fails.

In other words MyCurrentNumber = 2004 which is greater than TheMaxNumber =
2003 yet the comparison fails and the code continues to loop and eventually
errors out during the process.

Has anyone had a similar experience? What did you do to resolve it?



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.