Yes, there is lots of ways to do it.

C/Exec SQL
C+ SELECT COUNT(*) INTO :RECS FROM OUTDTA WHERE
C+ OQDDTA LIKE :PRTSCN
C/End-Exec

Regards,

Guy




MKirkpatrick@western
dental.com To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent by: cc:
midrange-l-bounces@m Subject: Simple report pgm using embedded SQL
idrange.com


11/05/2007 12:16 PM
Please respond to
Midrange Systems
Technical Discussion






Can you write a simple report pgm using embedded SQL and no cursors? If
so, could someone give me the basics? I have been using embedded SQL for
several of my pgms but have always used cursors. Just wondering. Thanks.




This thread ...


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

This mailing list archive is Copyright 1997-2026 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.