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.