Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get all records except the latest
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01356683
Message ID:
01356729
Vues:
18
>>Hi everybody,
>>
>>I have a complex query to get duplicates. I want to change all records (using SCAN/ENDSCAN) in the main table except for the latest record in each group. I can write a procedural code, but I'm wondering if there is a way to get them by SQL?
>>
>>I guess the procedural code would be simpler anyway.
>>
>>Thanks in advance.
>
>Your message indicates SQL Server database - is that where the data is? If so, what version?

Nope, sorry. The data are in VFP table. Though I would be curious to get it working for SQL Server as well.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform