Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program running very slow
Message
 
 
À
14/11/2003 11:26:27
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00849854
Message ID:
00849977
Vues:
23
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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform