Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: sql problem with LIKE

Re: sql problem with LIKE

From: Gary England <gengland_at_hiwaay.net>
Date: 1997/09/16
Message-ID: <341F43C7.6E88@hiwaay.net>#1/1

Peter Marusek wrote:
>
> I am having a problem using LIKE with SELECT. In particular, I am
> trying to do a select in my sql script...
> select .... LIKE x;
> where x is a varchar2 variable whose contents are 19970121%
> if I replace the variable x with the quoted string '19970121%' it works
> fine, but the string variable x is evidentally "not equivalent" to
> the quoted string????
> Don't know why the variable method doesn't work...
> Any advice?
> Thanx

Are you using a language interface or PL/SQL to define the variable x?

Gary Received on Tue Sep 16 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US