View previous topic :: View next topic |
Author |
Message |
JOHNCWL Beginner
Joined: 25 Feb 2004 Posts: 31 Topics: 16
|
Posted: Wed May 05, 2004 9:46 am Post subject: DB2 relational operators |
|
|
Hi,
I have a SQL as below
DECLARE TEST1 CURSOR FOR SELECT CUSTID,CUSTTYPE,LASTPDT FROM TABLE1 WHERE CUSTID>=:H AND CUSTID<:H FOR FETCH ONLY OPTIMIZE FOR 1 ROW
How will >= and < with respect to Range or BETWEEN clause affect??
Does the performance improves if we use IN BETWEEN clause?
Thanks in Advance
John |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|