Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fastest way to update a field?
Message
From
11/07/2002 01:51:10
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/07/2002 23:43:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00676899
Message ID:
00677405
Views:
24
>I am a VFP7 user. I have a database with approx 50,000 records.
>The "posted" field has the month/year that each transaction was posted (to the acctg ledger).
>
>At the end of this month, I will issue the command:
>
>REPLACE ALL posted WITH 'JUL02' FOR EMPTY(posted)
>
>Wow! is it slow. Can anyone help me optimize the operation?
>
>Thanks, Randy


update myTable set posted = 'JUL02' where posted == ''

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform