× 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.



http://archive.midrange.com/rpg400-l/200509/msg00270.html

Regards,

Guy




pepitovadecurt
<pepitovadecurt@gm To: rpg400-l@xxxxxxxxxxxx
ail.com> cc:
Sent by: Subject: SQL in RPG
rpg400-l-bounces@m
idrange.com


04/18/2008 10:56
AM
Please respond to
RPG programming on
the AS400 /
iSeries





Hi, I never include an SQL query into a RPG program.
I have the table PIEZAS with 2 rows (NUMERO, NOMBRE), I want to select
the PIEZAS.NUMERO=152 and print it, how I have to include the sql query
into an rpg program? And declare the table?
I have see a few examples in internet but are too complex.


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.