×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




QM will let you get it done quick and easy.

Frank W. Kany IV
Senior Programmer/Analyst 
Unipres USA, Inc.
(615) 325-8428 - Office
(615) 517-1742 - Cell
http://www.unipres.com



michael@xxxxxxxxxxxxxxxxxx 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
12/06/2005 12:18 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
midrange-l <midrange-l@xxxxxxxxxxxx>
cc

Subject
Big, Honking SQL Statement






Ok...here's my deal.

I have this big SQL statement...it does what I want it to do. 
I need to pass in two parameters (a numeric date and an alpha string). 
I need to format the output nicely.

What's the best approach? Should I have an RPG program that has the SQL
statement as a variable and I use PREPARE with parameter markers? Is QM
a better idea?

Thoughts are appreciated...



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