Re: Cursors and DTS
- From: "Mark" <mark@xxxxxxxxxxxxxxx>
- Date: Wed, 25 Jan 2006 15:01:02 +1300
Fixed the problem, my own fault, it was a problem with a SET DATEFORMAT
statement which I had (Stupidly) placed after the cursor had been declared.
Placing it before the declaration of the cursor fixed the problem
Mark
"Mark" <mark@xxxxxxxxxxxxxxx> wrote in message
news:O6kCBJVIGHA.532@xxxxxxxxxxxxxxxxxxxxxxx
> Hi, I am using a cursor inside a stored procedure to do some complex work
> on each row in a table.
>
> Looking at the execution plan everything looks fine (Always worry about
> cursors!!) and the Stored Procedure runs fine if I call it via Query
> Analyser.
>
> When I go to run the stored procedure from a DTS package (exec
> MyStoredProcedure) I receive the following error message..
>
> "The cursor is not open. Could not complete cursor operation because the
> set operations have changed since the cursor was declared"
>
> Any ideas how I can get around this??
>
> TIA
> Mark
>
.
- References:
- Cursors and DTS
- From: Mark
- Cursors and DTS
- Prev by Date: Cursors and DTS
- Next by Date: DTS Documentation Generator
- Previous by thread: Cursors and DTS
- Next by thread: DTS Documentation Generator
- Index(es):
Relevant Pages
|