sql - Force Index Not Working on Delete -


i trying use forced index on delete statement in sybase, query plan not seems pick index, showing table scan.

what right way force index on delete?

snippet of query using:

set forceplan on  delete  #table1  #table2 tmp, #table1 t (index idx1)     tmp.col1 = t.col1 ,     tmp.col2 = t.col2 

the index idx1 created on col1 , col2 on #table1 larger table.

is there wrong in query? using sybase ase 12.5


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -