Using SQL for simple IWS app server

Jon Paris <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <[email protected]>
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 list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.