dbTalk Databases Forums  

Cursor in Execute SQL Task

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


Discuss Cursor in Execute SQL Task in the microsoft.public.sqlserver.dts forum.



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

Default Cursor in Execute SQL Task - 07-07-2004 , 03:13 PM






Hello. Is it possible to have a cursor in an Execute SQL Task. It's giving
me an error. We're comparing values in two tables, and then using IF/ELSE
blocks to insert or update one of the tables. Thanks.



Reply With Quote
  #2  
Old   
dw
 
Posts: n/a

Default Re: Cursor in Execute SQL Task - 07-07-2004 , 03:27 PM






I figured it out. For one thing, I should have included the error when
posting; for another, I should check my IF/ELSE's BEGIN/END's. That's where
the error was coming from.

"dw" <cougarmana_NOSPAM (AT) uncw (DOT) edu> wrote

Quote:
Hello. Is it possible to have a cursor in an Execute SQL Task. It's giving
me an error. We're comparing values in two tables, and then using IF/ELSE
blocks to insert or update one of the tables. 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.