|
Okay maybe I should read the documents. The previous post was suppose to be WITH TABLE1 AS (SELECT ...), ... SELECT ... FROM TABLE1... Thank you, Matt Tyler WinCo Foods, LLC mattt@xxxxxxxxxxxxxx -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Tyler, Matt Sent: Friday, January 06, 2006 3:55 PM To: RPG programming on the AS400 / iSeries Subject: RE: SQL Error? What is the error? Mike, Try using common table expressions; WITH (SQL SELECT) AS TABLE1 NAME,... SELECT ... FROM TABLE1, ETC. See the SQL reference V5.3 pages 379-380 http://publib.boulder.ibm.com/infocenter/iseries/v5r3/topic/db2/rbafzmst .pdf for very brief documentation or see Robs message: http://archive.midrange.com/rpg400-l/200509/msg00289.html. Thank you, Matt Tyler WinCo Foods, LLC mattt@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.