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 -> sql problem with LIKE

sql problem with LIKE

From: Peter Marusek <pmaruse_at_hargray.com>
Date: 1997/09/16
Message-ID: <5vml29$kas@news1.infoave.net>#1/1

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 Received on Tue Sep 16 1997 - 00:00:00 CDT

Original text of this message

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