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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only