RE: [Axapta-Knowledge-Village] when to use Index and index hint

2010-08-18 Thread Malcolm Burtt
Hi For most queries, the answer is to use neither. “Index Hint” overrides the SQL Query optimiser and forces the use of the specified index – which is ok if you’re sure that the optimiser is picking a bad query plan and that using “index hint” allows your query to run faster but most of the

Re: [Axapta-Knowledge-Village] when to use Index and index hint

2010-08-18 Thread thomas 'znal' ramdhan
Hi Malcolm, From above question, I'd like to ask another question which related to indexhint. Let's say I need to query to tableA which field criteria is field1. select * from tableA where tableA.field1 = _field1 indexs for table A are below 1. NumIdx field1 field2 field3 2.