ColinChen (3/8/2010)
Thanks for everyone.Now I found the issue:
Because the fieldB is varchar , and the fieldC is nvarchar.
select * from tableA where fieldB in(select fieldc from tablec)
If I alter the fieldC to varchar, the index on fieldB is used.
Yeah... that'll do it, too. Thanks for posting back the solution you found.