Posted: Fri Dec 03, 2010 9:57 am Post subject: ESQL database access verses PassThru
Disciple
Joined: 21 Jul 2003 Posts: 169 Location: IA
Having the need to access a database with a LIKE xyz%, and the search parameter coming in on input XML has a quote in the value, example:
<NAME>O'MALLY</NAME>
Is there a way to code a like using a ESQL database call verses a Passthru, since a Passthru will not work when trying to build the string value to pass in.
since a Passthru will not work when trying to build the string value to pass in
Why will it not work? You can escape a ' with another ' if that's the problem...
Kind Regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum