Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rejecting Duplicates during appends
Message
De
23/10/2003 14:52:49
 
 
À
23/10/2003 14:05:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00841699
Message ID:
00841745
Vues:
25
Hi Greg,

A solution exist, and it is fast.
First you need to remove or close Candidate Index.
SELECT targetTable
* close or delete any index
INDEX ON uniqueExpression UNIQUE TAG TAG1
USE targetTable AGAIN ALIAS targetTableSearch IN 10000 ORDER 1
APPEND FROM textFile FOR !SEEK(uniqueExpression,100) OR RECNO()=RECNO(100)
USE IN 10000
* open index of targetTable
* REINDEX
Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform