ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL database access verses PassThru

Post new topic  Reply to topic
 ESQL database access verses PassThru « View previous topic :: View next topic » 
Author Message
schroederms
PostPosted: Fri Dec 03, 2010 9:57 am    Post subject: ESQL database access verses PassThru Reply with quote

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.

Thanks in advance.
Mike
Back to top
View user's profile Send private message
mgk
PostPosted: Fri Dec 03, 2010 10:19 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Quote:
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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL database access verses PassThru
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.