It was Charles Wilt and I concur. That said, report writing requires you to
process each row as Joe pointed out so you really can't do it without a
cursor.

Elvis

2007 System i Fall Technical Conference | Orlando | November 4-7
Celebrating 10-Years of SQL Performance Excellence on IBM i5/OS and OS/400

-----Original Message-----
Subject: RE: Simple report pgm using embedded SQL

I think I remember someone on this list suggesting that if you are using a
cursor, you are probably doing it wrong. So, I was wondering how one
might avoid using cursors in this simple example. Thanks.

Michael Kirkpatrick


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.