Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rushmore: Não entendo mais nada...
Message
From
10/04/2002 05:23:11
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00642983
Message ID:
00643056
Views:
9
>Estou executando a seguinte instrução:
>
>Select Sum(B.Field3 - B.Field4);
>   From B Left Outer Join A On B.Field1 = A.Field1;
>   Where B.Field2 = "SOMETHING" .and.;
>         B.Field3 > B.Field4 .and.;
>         A.Field2 = "YES" .and.;
>   Into Cursor MyTest
>
>
>1) Se eu tenho índices nos campos A.Field1 e A.Field2, esta instrução leva 10,5 segundos para ser executada.
>
>2) Se eu excluir os índices, a mesma instrução leva 2,5 segundos...


Qual é o resutado de SYS(3054) si vc tem indices no A.Field1, A.Field2, B.Field1, B.Field2, B.Field3, B.Field4?
É si vc tem SET COLLATE TO MACHINE?
SET DELETED?


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform