|
From: Jon Paris <jon.paris@xxxxxxxxxxxxxx><web400@xxxxxxxxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
Date: 12/20/2020 05:52 PMlist
Subject: [EXTERNAL] [WEB400] Using SQL for simple IWS app server
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>
Has anyone been able to use a SELECT that includes a LIKE clause in
the SQL when deploying SQL statements with IWS?
Unless I'm missing a PTF or something it doesn't seem to work -
mainly because it does not recognize the ? as a parameter marker
when included in a LIKE.
So SELECT * FROM ABC WHERE TYPE = ? generates a named parameter
that can be associated with data from the URL
SELECT * FROM ABC WHERE TYPE LIKE('?') does not generate a parameter
so there is nothing to associate.
The docs don't help as they don't list any limitations on what the
SQL can and cannot do.
Jon
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxxxxxxxxu=https-3A__lists.midrange.com_mailman_listinfo_web400&d=DwICAg&c=jf_iaSHvJObTbx-
To subscribe, unsubscribe, or change list options,
visit: INVALID URI REMOVED
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-ew&m=oIY4Ea9Wr6JJS3z8MbGgZC-
o47iPwsXApQUqe-CAqrQ&s=rhmAhTMR_ySJ5OdzmRcnMk5RMdgTDbquEJukCBYBWIw&e=
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at INVALID URI REMOVED
u=https-3A__archive.midrange.com_web400&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-ew&m=oIY4Ea9Wr6JJS3z8MbGgZC-
o47iPwsXApQUqe-CAqrQ&s=gNfK-6uRzxxh_ufnacpAIijUb8YGEyzw1ztBlfErACc&e= .
As an Amazon Associate we earn from qualifying purchases.
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.