followiing Unpivot Query Gives error 156.....any idea
select
School_Year,
COL,
DatePair
from
#stagedata4
unpivot
(
DatePair FOR COL IN ( T1M1,T1M2)
) As up
error:
-----------
Msg 156, Level 15, State 1, Line 230
Incorrect syntax near the keyword 'FOR'.
student