Re: [PERFORM] What is the fastest null WHERE

2003-10-01 Thread Mindaugas Riauba
> > While writing web application I found that it would > > be very nice for me to have "null" WHERE clause. Like > > WHERE 1=1. Then it is easy to concat additional > > conditions just using $query . " AND col=false" syntax. > > > > But which of the possible "null" clauses is the fastest > > o

Re: [PERFORM] What is the fastest null WHERE

2003-10-01 Thread Rod Taylor
On Wed, 2003-10-01 at 08:11, Mindaugas Riauba wrote: > While writing web application I found that it would > be very nice for me to have "null" WHERE clause. Like > WHERE 1=1. Then it is easy to concat additional > conditions just using $query . " AND col=false" syntax. > > But which of the poss

Re: [PERFORM] What is the fastest null WHERE

2003-10-01 Thread Richard Huxton
On Wednesday 01 October 2003 13:11, Mindaugas Riauba wrote: > Hello, > > While writing web application I found that it would > be very nice for me to have "null" WHERE clause. Like > WHERE 1=1. Then it is easy to concat additional > conditions just using $query . " AND col=false" syntax. > >

Re: [PERFORM] What is the fastest null WHERE

2003-10-01 Thread Shridhar Daithankar
Mindaugas Riauba wrote: Hello, While writing web application I found that it would be very nice for me to have "null" WHERE clause. Like WHERE 1=1. Then it is easy to concat additional conditions just using $query . " AND col=false" syntax. But which of the possible "null" clauses is the fa

[PERFORM] What is the fastest null WHERE

2003-10-01 Thread Mindaugas Riauba
Hello, While writing web application I found that it would be very nice for me to have "null" WHERE clause. Like WHERE 1=1. Then it is easy to concat additional conditions just using $query . " AND col=false" syntax. But which of the possible "null" clauses is the fastest one? Thanks,