Re: [SQL] How to speeed up the query performance

2003-08-14 Thread Stephan Szabo
On Thu, 14 Aug 2003, Abdul Wahab Dahalan wrote: > Hai Chris! > Thanks for the solution but seem it doesnt work. > (0 rows) returned when I used NOT EXITS but (4 rows) returned > when NOT IN is used... Maybe you need a set of parenthesis around the old conditions because of the or.

Re: [SQL] How to speeed up the query performance

2003-08-14 Thread Christoph Haller
> > How do I speed up the quey performance if I've a query like this : > Does 'not in' command will affected the performance?. Yes, it's well known to be slow in 7.3 and lower, should be fixed in 7.4 AFAIK. > > select > ts.transportid,ts.transporttype,ts.transportcapacity,ts.transportstatus,ts.rout

Re: [SQL] How to speeed up the query performance

2003-08-14 Thread Jonathan Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 12 August 2003 20:20, Abdul Wahab Dahalan wrote: > How do I speed up the quey performance if I've a query like this : > Does 'not in' command will affected the performance?. > Yes. Severely. See the responses to the "How to optimize this qu

Re: [SQL] How to speeed up the query performance

2003-08-14 Thread Abdul Wahab Dahalan
Hai Chris! Thanks for the solution but seem it doesnt work. (0 rows) returned when I used NOT EXITS but (4 rows) returned when NOT IN is used... FYI I used 7.2 Christoph Haller wrote: How do I speed up the quey performance if I've a query like this : Does 'not in' comm

[SQL] How to speeed up the query performance

2003-08-14 Thread Abdul Wahab Dahalan
How do I speed up the quey performance if I've a query like this : Does 'not in' command will affected the performance?. select      ts.transportid,ts.transporttype,ts.transportcapacity,ts.transportstatus,ts.routecoverage,ts.transportregnumber from       transportsetup ts where     ts.bizid =