>Marcio,
>
>> select * from tabela where campo = valor_procurado
>> - com índice => 12,72 segundos
>> - sem índice => 0,13 segundos
>
>Com índice demorou mais que sem índice?
>
>[]s!
Sim, isto pode ocorrer: VFP usa tudo índice que concorda com uma parte da expressão a ser optimizada - nao faz um análise detalhado, se isto vai faze-lo mais rápido, ou mais devagar. O problema são os índices que selecionan muitos registros para um só valor. Veja também o meu FAQ #8109.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)