On Fri, 28 Oct 2011, Morgan, Paul wrote:

Why declare two cursors when one will do?

Declare C1 cursor for
select CMCSNAME, CMADDR1, CMCITY, CMCST#6, CMCST#3
from CUSTML1
where CMCSNAME >= :SHCSNAME
and CMCSNAME LIKE:csgrpkwda
and :SHCO# IN( 0, CMSRVCO# )
and CMDEL <> 'D'
order by CMCSNAME

That worked perfectly, thanks!

James Rich

if you want to understand why that is, there are many good books on
the design of operating systems. please pass them along to redmond
when you're done reading them :)
- Paul Davis on ardour-dev

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.