before SELECTing, why not develop an index to test the algorith?
seemed to me that if you were to use something like
INDEX ON PID*10000 + SID * 100 + LX to testorder
and fine tune it till you had the algorith right, you'd have the basis for the select!
Also, sometimes it's easier to SELECT on one criteria ( criterium? ) and index the cursor, that way you can also cover your ass by testing to make sure all records get processed, rather than learn later that the complex select left out some data.
mike
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement