Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing the last child record from same parent if seque
Message
 
 
To
29/06/2015 14:59:55
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01621484
Message ID:
01621567
Views:
39
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform