Hi
Is there a way for using the PIVOT synatx with a dyamic/unknown list of columns? In most PIVOT examples ther columns are "hard" coded but if for example, you are pivoting a sales order table where u don't know which Fiscal Years the orders cover, how could you do this?
Thanks
Hi,
I followed a link http://www.sqlmag.com/Article/ArticleID/43140/sql_server_43140.html
and get this one working in another forum.
http://forums.asp.net/2/1392175/ShowThread.aspx#1392175
If you have question for that, please let me know.
|||Thanks limno, this helps a lot
No comments:
Post a Comment