>hice lo que dijiste, el rendimiento es el mismo, sólo que con el comando sys(3054,11) me sale el mensaje Nivel de Optimización Rushmore para tabla cobros : parcial, cuando está set delete on
Eso debe ser cuando no tienes índice por "deleted()". Sin embargo, "completamente optimizado según Rushmore" no siempre significa que es óptimo, así que es mejor hacer verificaciones de velocidad, bajo diferentes condiciones.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)