Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Let select more faster
Message
 
 
To
06/06/2006 02:57:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01127280
Message ID:
01127319
Views:
12
How Num field is defined? If it's integer field, you may try BINTOC function instead of STR. Also make sure to get SP1 for VFP9. You may also try to use STR(num, 7) if, say, your Num is Numeric (7,0).

>hi all,
>
>my mstr table have more than 20000 records, every time i run this code under mean increase table mstr,
>this code take more one minute , is there any thing i must modify to make it faster.
>
>insert INTO mstr ;
> Select * From main2 Where ;
>  DtoS(file_date) + DtoS(intervdate)+Str(num) Not In ;
>   (Select  DtoS(file_date) + DtoS(intervdate)+Str(num) ;
>    From mstr)
>
>thanks
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform