I'm really digging the new lag(), lead(), iif(), choose(), first_value(), and last_value() functions. Very nice stuff!
-Josh
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
I'm really digging the new lag(), lead(), iif(), choose(), first_value(), and last_value() functions. Very nice stuff!
-Josh
Definitely. The lag() and lead() in particular could allow scenarios that were commonplace using Btrieve. That is definitely something that I majorly missed when moving to SQL.
@davewill: It also looks like we get running totals via sum(y) over (order by x). Whoot!
-Josh
4 hours ago, JoshRoss wrote
I'm really digging the new lag(), lead(), iif(), choose(), first_value(), and last_value() functions. Very nice stuff!
-Josh
I remember IIF() from the VFP days. The CASE syntax is damn fugly in comparison.
Too bad our projects are moving to Entity Framework... We can't enjoy any of these unless we create a storeproc to run them...
And btw, every time I have to write a stored procedure because there's a feature I needed missing or performed inefficiently in EF. I'm at loss... what good does it brings over standard strong typed dataset if you only use storeproc to perform database access? /rant
@cheong: You could still create a view, that solves your performance issues, and EF to that. And unless I'm wrong, you could also use table functions, and still get strong typing.
-Josh
@JoshRoss: Yes. This is exactly why I wonder what does I gain by using EF. I could just use System.Data.ODBC.* (Note that in MSSQL vNext, ODBC will become first class citizen and OLEDB will be dropped in vNextNext) to get strongly typed dataset to get virtually all what EF offers, without concern about performance issues.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.