Dear All,
I am using Sybase ASE 12.5 ad the below statement is taking hours to execute a delete on a table having 4000000 records even though the correct index is viewed by the delete statement:
DELETE FROM TABLEX WHERE YEAR=2007 AND MONTH <12
It is accessing the index ind(YEAR,MONTH) on TABLEX.
Does anybody has an idea how to improve the performance of this statement please.
Thanks .