Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL question
Message
From
02/08/2012 09:49:09
 
 
To
01/08/2012 15:24:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01549669
Message ID:
01549816
Views:
44
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform