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: query strangness

Re: query strangness

From: Randy DeWoolfson <randy_at_euclidsys.com>
Date: Tue, 26 Oct 1999 11:25:58 -0400
Message-ID: <3815C806.DD69EF2B@euclidsys.com>


look for hidden characters or whitespace...

try the LIKE syntax instead of =
e.g.

lastname LIKE '%test1%'

hth
Randy

Sebastian Degenaar wrote:
>
> I am having difficulty in oracle 8i for Win NT just doing a simple query
> on a varchar2 field. It works fine to query on any integer field,
> however if I try for example;
>
> select * from USER.CUSTOMER where LASTNAME = 'test1' i get no rowset.
> Why is this. It seems to work on some varchar fields and not others.
>
> Any help greatly appreciated!
Received on Tue Oct 26 1999 - 10:25:58 CDT

Original text of this message

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