Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shoud I ???
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00502777
Message ID:
00502798
Views:
15
>Shoud I replace the use of : SEEK,REPLACE,DELETE and use SELECT * FROm where, Update WHERE, and DELETE FOR
>
>It's a good artinative??
>What's the diferences?? (speed,integrity???)

Not always. It depends a lot on the type of index tags you have set up on a table. It may be faster to this:
SEEK {condition}
SCAN WHILE  {condition}
   {perform operation}
ENDSCAN
But I would choose to use a SQL delete or update rather than REPLACE if you cannot go straight to the record(s) you need to work on.
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Reply
Map
View

Click here to load this message in the networking platform