StephenMcC
3/27/2007 11:02:00 PM
Hi Guys,
Thx for ur comments, seems I've opened up an interesting debate!
Mmm, I'm new to cursors but not to SQL / SQL Server, I've been well educated
that cursors are, well, not great when it comes to performance, so I've
always been told to stay clear, and I would if I could...
But my hand is forced in this case, I'm currently working with Sybase which
has somewhat similar to SQL Server, they used to be quite closely related
some versions ago, but they have since parted company big time.
I would normally do what I have to via #temp tables, but Sybase doesn't like
this, due to a DDL In Tran Issue as we're working with Java/JDBC, MDAC never
used to mind! So I might look into the @@CURSOR_ROWS function, but not
because I want to...
I reckon if I HAVE to use cursors, then Iâ??m gonna make then earn there keep,
make it do all the work (ie: get my count). I also plan, when I've gotten all
I want from the cursor, to release this and get the â??hell-outta-dodgeâ?? asap!
Again, thanks for ur comments.
StephenMcC.
"Steve Dassin" wrote:
> "Hugo Kornelis" <hugo@perFact.REMOVETHIS.info.INVALID> wrote in message
> news:oiq8035f7vte8am9khg53ha1csv4246tvk@4ax.com...
> > Hi Steve,
> >
> > No, my friend, you are completely missing the point here.
>
> I think your politely telling me to set down :( :)
>
> best,
> steve
>
>
>