Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete identical records
Message
From
13/06/2001 15:35:32
 
 
To
13/06/2001 15:21:01
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00519018
Message ID:
00519033
Views:
14
This will show you the manifests that are duplicated (e.g thatshow up more than once).
Then it's easy to traverse the set and delete the extra records.
SELECT Manifest, COUNT(*) as Knt ;
FROM ManifestTable ;
GROUP BY Manifest ;
HAVING Knt > 1
>I want to delete all the records in a table that have the same manifest number but keep the one record of it in the table. How would I do this?
>
>Tyler


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform