Subject | Re: Why "Like" , "=" return diffent number records? |
---|---|
Author | Kadee |
Post date | 2003-10-08T08:52:43Z |
Dear Martijn;
where field1 ='AAA'
and field1 like '___'
recordcount = 125
select * from table1
where field1 ='AAA'
and field1 like '__________'
recordcount = 25
Thanks again;
Kadee Aon
> What kind of columns is "Field1" - is it a CHAR or VARCHAR column?Field1 is a varchar(10) column.
>select * from table1
> Does "Field1" have values with trailing spaces?
where field1 ='AAA'
and field1 like '___'
recordcount = 125
select * from table1
where field1 ='AAA'
and field1 like '__________'
recordcount = 25
Thanks again;
Kadee Aon