Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql with set dele off
Message
From
11/09/2006 04:01:27
 
 
To
11/09/2006 03:53:14
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01152709
Message ID:
01152710
Views:
14
>set dele off
>select * from \\192.168.0.1\d\sales\inward into dbf xxcc
>
>above command taking 1 second.
>
>set dele on
>select * from \\192.168.0.1\d\sales\inward into dbf xxcc
>
>above command taking 15 second.
>
>warm regards,
>mk.

Your comparison is completely irrelevant, unless you supply more data. However:
1. Include an index tab on deleted and use the new binary index type (index on deleted() tag deleted binary)
2. Reduce the number of records by using a where clause which is optimizable
3. Set deleted on, and NEVER, NEVER, NEVER set it off, but always leave it on! Or even better, never delete records, but add a logical field "reusable" which you set to .T. in stead of deleting.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform