Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First and last based on same SQL
Message
From
10/10/2014 20:19:17
 
 
To
10/10/2014 18:00:20
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01609079
Message ID:
01609168
Views:
33
>>If you're using SQL Server 2012 and up, then just check
>>
>>FIRST_VALUE() and LAST_VALUE() functions
>>
>>http://www.mssqltips.com/sqlservertip/2640/sql-server-2012-functions--firstvalue-and-lastvalue/
>
>This is interesting but no function is called from our SQL select commands.

Michel, FIRST_VALUE and LAST_VALUE are functions baked into the database engine in SQL 2012 (Naomi, thanks for mentioning those)

Structurally there's no difference between those functions, and aggregation functions like SUM, MIN, MAX, AVG, etc. So I'm not sure what you mean.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform