Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Wildcard Problem
William,
Asking me how char(7) could be two character clued me in. The application is inserting spaces after the values. So if my values are 44, then it's adding 5 spaces to the end and that what it is. When I ran the query
Select * from myDB where column1 like '4______' (6 underscores)
It finally returned data, but it returned everything. When I run
Select * from myDB where column1 like '4_ ' (5 spaces)
I get exactly what I want.
I appreciate all of the suggestions.
Thanks for yoru help. Received on Mon Oct 23 2006 - 09:56:30 CDT