Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing the last child record from same parent if seque
Message
 
 
À
29/06/2015 14:59:55
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2012
Application:
Web
Divers
Thread ID:
01621484
Message ID:
01621567
Vues:
40
>>Nothing is complex here. Check this page for better understanding of my idea:
>>
>>http://pratchev.blogspot.com/2010/02/refactoring-ranges.html
>
>Thanks for the reference

Assuming the rows in the date order from the earlier date to the latest date, can you mark rows you'd like to delete?
Created
Uploaded
Completed
Completed
Assigned
Completed -- the query with Grp=0 should delete it
Completed -- the query with Grp=0 should delete it
Completed -- the latest date
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform