× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



- SQL is a set oriented language and that means a cursor
- positioned updates neead a cursor and are mostly much faster, than searched updates
- working without commitment controll, you should use a cursor for all updates, otherwise its not safe for anything

in other words: there is nothing wrong with a cursor!

D*B

However, remember my motto, "If you're using a cursor you're
probably doing something wrong." You might see the term RBAR
thrown about when it comes to cursors, especially in MS SQL
Server forums.

RBAR stands for Row-By-Agonizing-Row.

There are a few places where you have to use cursors, but
this isn't one of them!


Charles, I used a cursor a couple of times when learning embedded sql. But now I never see an advantage for using one. When <would> it be a the right place?
--



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.