Subject Re: [firebird-support] Re: slow "where 1=0"
Author Martijn Tonies
Hi,

> > Constants against constants aren't checked, it's a silly query :-)
> >
>
> This is a rule for all sql engines?. I don't think so.

I don't think so either, but that was and still is the reasoning of
the developers of Firebird.

> >
> > WHERE <idcolumn> = -1
> >
>
> The problem is that I know nothing about the source table.

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com