March 3, 2021 at 4:17 pm
Shifting gears a bit but on a similar subject... the PIVOT operator in MS Access is totally awesome. I do NOT understand why MS made such a crippled version in SQL Server.
If I recall correctly - it has been many years since I did anything in Access - the reason Access is better at this is because queries are generated at run-time. Essentially they are dynamic SQL and will dynamically build the column list and the pivot operator(s) when the query is executed.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
March 3, 2021 at 10:14 pm
Jeff Moden wrote:Shifting gears a bit but on a similar subject... the PIVOT operator in MS Access is totally awesome. I do NOT understand why MS made such a crippled version in SQL Server.
If I recall correctly - it has been many years since I did anything in Access - the reason Access is better at this is because queries are generated at run-time. Essentially they are dynamic SQL and will dynamically build the column list and the pivot operator(s) when the query is executed.
Not what I meant, though... the PIVOT operator in Access has a whole lot more functionality built in and is a whole lot easier to use than the one in SQL Server. It's like someone actually designed it to be useful. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 2 posts - 61 through 61 (of 61 total)
You must be logged in to reply to this topic. Login to reply