Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acesso a um DBC
Message
From
18/11/2003 09:48:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
18/11/2003 09:22:54
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00850944
Message ID:
00850976
Views:
14
>>executo o comando " select max(codigo) from clientes " e a resposta demora muito, às vezes até trava a máquina.
>
>Para que esta consulta seja otimizável pelo Rushmore vc precisa ter um tag com a expressão codigo no CDX. Além disso se vc utiliza SET DELETED ON, vc precisa ter um tag com a expressão DELETED(). Não podemos esquecer do SET OPTIMIZE ON :)

Isto pode fazer que as consultas sejan mais devagar. Um índice por deleted() muitas veces é contraproducente.
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform