Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last record in each group
Message
 
 
To
30/11/2007 08:52:25
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01272276
Message ID:
01272394
Views:
27
>Ok, if you send me the code I will appreciate so much.
>
>thanks in andanvace
>
>CB


Here is VFP idea, needs to be adjusted for SQL Server:
select my.* from myTable my ;
inner join ;
(select ctobin(right(max(dtos(date)+bintoc(ID)),4) as ID, MyGroupField ;
from myTable group by myGroupField) MaxInfo on my.ID = MaxInfo.ID
From http://forum.foxclub.ru/read.php?32,177183,177232#msg-177232 (in Russian)
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