Subject | Re: [firebird-support] Why "Like" , "=" return diffent number records? |
---|---|
Author | Martijn Tonies |
Post date | 2003-10-08T08:16:35Z |
Hi,
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird & MS SQL Server.
Upscene Productions
http://www.upscene.com
> I use Firebird-1.0.0.796-Win32, andWhat kind of columns is "Field1" - is it a CHAR or VARCHAR column?
> I got a weird stuation:
>
> When I execu SQL as
>
> select * from Tableq
> where field1 = 'AAA'
> the recordcount of result is 150 .(correct result)Does "Field1" have values with trailing spaces?
>
> but if I use SQL as
>
> select * from Tableq
> where field1 like 'AAA'
>
> the recordcount of result only 125.
> some record seen disappeared.
With regards,
Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird & MS SQL Server.
Upscene Productions
http://www.upscene.com