Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select first rows from subselect
Message
From
06/10/2015 00:21:46
 
 
To
05/10/2015 20:46:42
General information
Forum:
Microsoft SQL Server
Category:
Replication
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01625508
Message ID:
01625512
Views:
44
>I need to bring the last record in data for the idcompany=10. I need this without using cursor or temporary table, would be possible with just one query?
>
>TIA.

OK, it looks like it's based on the date/time. OK typing up a sample, will post here shortly.
Previous
Reply
Map
View

Click here to load this message in the networking platform