Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Wildcard Problem
I am trying to write a simple query to pull data from a database where
a column has data that starts with a 4 and is only 2 characters long.
I thought the query would be:
Select * from myDB where column1 like '4_'
When I run the query, it returns nothing. I get no error message, just no data.
I do get data if I run the following query:
Select * from myDB I can clearly see that column one contains values like 40, 45 etc
This field is a string field but almost alway contains numbers. Not sure if that makes a difference.
Thanks for any help. Received on Wed Oct 18 2006 - 08:19:25 CDT
![]() |
![]() |