Re: WHERE 1=2 with performance nightmares



Kim Madsen wrote:

Usually the expression compiler will evaluate the expression to be
false, even before actually searching records.

I know that to be false for InterBase. I expect that to be true for
any DB server which doesn't actually explicitly check for such
conditions. It is, generally speaking, a bad idea.

--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Want to help make Delphi and InterBase better? Use QC!
http://qc.borland.com -- Vote for important issues
.



Relevant Pages

  • Re: WHERE 1=2 with performance nightmares
    ... even before actually searching records. ... any DB server which doesn't actually explicitly check for such ... It is, generally speaking, a bad idea. ... what is Interbase looking for? ...
    (borland.public.delphi.non-technical)
  • Re: Anyone had problems with submitting things to CodeCentral?
    ... Andrea Raimondi wrote: ... > I've been around groups(and on this server specifically) for ... Delphi/InterBase Weblog: http://blogs.teamb.com/craigstuntz ... Want to help make Delphi and InterBase better? ...
    (borland.public.delphi.non-technical)
  • FreeBSD Ports Security Advisory FreeBSD-SA-01:26.interbase
    ... FreeBSD only: NO ... Interbase is a SQL database server from Borland. ... Remote attackers may connect to the database on TCP port ...
    (FreeBSD-Security)
  • Re: "Faster, More Powerful . 64 Bits!"
    ... That said, most of use *use* DB servers, ... Vertex Systems Corp.. ... Delphi/InterBase Weblog: http://delphi.weblogs.com ... Useful articles about InterBase and Delphi development: ...
    (borland.public.delphi.non-technical)
  • Re: Oracle Innobase Purchase Impacts MySQL.
    ... Interbase has an MVCC paradigm. ... Oracle doesn't have. ... licensed or bought up for inclusion in, for example, SQL Server. ... Borland purchased Ashton-Tate. ...
    (comp.databases.oracle.server)