Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program running very slow
Message
 
 
To
14/11/2003 11:26:27
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00849854
Message ID:
00849977
Views:
22
Hey Mike,
You are right, this is a much better way to do this. Sometimes you get moving forward and can't see the forest through the trees! Thanks for your help.
Kevin

>Hi Kevin
>
>If a piece of code is taking even 20 minutes, I'd be unhappy ;).
>
>Do you want to pull new data into your existing data? If so, you won't need to delete anything (implying a later process to get the undeleted records via pack or another SQL)
>
>How about flipping the entire process over?
>
>
>SELECT * ;
>  FROM NEW ;
>  WHERE ;
>    ssn + holder_num + DTOS(date_rem) NOT IN ;
>      (SELECT DISTINCT ssn + holder_num + DTOS(date_rem) FROM old) ;
>  INTO CURSOR ;
>    c_KeepThese
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform