I might have my terminology mixed up here but to me a dynamic pivot means the data that will become the columns isn't known at design time of the query. I've seen some examples that seem to mean something else, but I've seen some examples where you first distinct to get the unique values then build a query. This seems very cumbersome at best. Does SQL Server 2012 have a more built in way (like MS Access's crosstab query) to pivot on data that isn't known at design time right in 1 sql command?
This was talked about in the year 2012 by not 1 sql statement, but a chunk of code. I'm wondering if SQL Server 2012 has anything new to offer to do it all in 1 command like MS Access does.