Subject | Re: [firebird-support] Scandinavian letters. Wildcard searching??? |
---|---|
Author | Lester Caine |
Post date | 2005-05-13T06:02:02Z |
shailesh mali wrote:
Having said that - have you tried
'%' || Some_variable || '%'
Some how I think it should work - but stand to be corrected - I process
the Some_variable in PHP before I send it ;)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> I want to use these wildcards in my stored procedure block as followsYou need to add the %'s *TO* Some_variable before using it.
>
> Select * from your_table where your_field Like '%Some_variable%';
>
> it is not working...Please help me out
Having said that - have you tried
'%' || Some_variable || '%'
Some how I think it should work - but stand to be corrected - I process
the Some_variable in PHP before I send it ;)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services