D
David Abdala
Guest
Because ABL does not have anything like "previous function evaluation". The result of the function is unknown to ABL up to the evaluation, so it has to be evaluated for each customer. (can-find is a function). Doing: if can-find() then name = "Jazz". else name = "Joe" find first customer where customer.name = name no-lock no-error. Should give you a different index usage.
Continue reading...
Continue reading...