Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL question
Message
De
02/08/2012 09:49:09
 
 
À
01/08/2012 15:24:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01549669
Message ID:
01549816
Vues:
45
>>>I want to remove duplicate VFP Memo records using SQL.
>>>
>>>Any ideas on how this is accomplished?
>>>
>>>*Can the code below be modified to remove duplicates in a memo field?
>>>
>>>USE URLS
>>>* Using SQL to remove dupicates (Thanks Naomi)
>>>SET ENGINEBEHAVIOR 90
>>>SELECT * FROM URLS GROUP BY Location INTO TABLE URLtemp
>>>SET SAFETY OFF
>>>CLOSE TABLES ALL
>>>COPY FILE URLtemp.DBF TO URLS.DBF
>>>CLOSE TABLES ALL
>>
>>Is Location the memo?
>
>No it is not, but I have solved the problem. Thank you Borislav

If you have oodles of data and problems with perf on such memo fields,
look into generating hashcodes/CRC for the memo field.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform