Hi
It took a while for this to sink in with me
Then it finally clicked
One dope slap to me
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob Berendt
Sent: Tuesday, November 15, 2016 12:51 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: AW: Looking for %
Thanks for the heads up on the 'escape' clause.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Hauser <Hauser@xxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 11/15/2016 11:55 AM
Subject: AW: Looking for %
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
The followIng SQLSTATEMENT returns all textra that including a perlen
sign.Try:Select *From yourTableWhere yourText likes '%!%%' escape '!'
Birgitta
Von meinem Samsung Gerät gesendet.
-------- Ursprüngliche Nachricht --------
Von: Alan Shore <ashore@xxxxxxxx>
Datum: 15.11.16 15:23 (GMT+01:00)
An: midrange-l@xxxxxxxxxxxx
Betreff: Looking for %
Hi everyone
Before I forget - we are at V7r1 (hooray)
When I have to locate records that contain a string in a certain field, I
use
Select * from filename where field like'%abcde%'
But what do you use if you are looking for the character %
I tried google search it, but google search doesn't like %
As always, any and all responses welcome
Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill
As an Amazon Associate we earn from qualifying purchases.