|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Modify query to use indexspace
hi all,
i have a cursor with the where clause as where (trn_isin = :smx-isin or trn_isin = :ws-und-isin or trn_cusip = : smx-cusip ) here trn_isin is index .. now the selection criteria is either of the 3 values should be present in the table if im using the above where clause the query is going for a tablespace scan maybe because of OR ... can anyone modify this query to do a indexspace scan ? thanks, ashimer |
|
#2
|
|||
|
|||
|
if need arise i can make trn_cusip as another index ..
IN predicate should work or else joins .. |
![]() |
| Viewing: Dev Shed Forums > Databases > DB2 Development > Modify query to use indexspace |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|