爱子日志

SQL Server在DELETE语句中使用INDEX HINT

SQL Server用hint,在select语句:

select * from tablename with(index(indexname)) where...


可在delete中报错

delete from tablename with(index(indexname)) where ...