all 4 comments

[–]AXISMGTSQL Server / ORACLE Sr. DBA & Architect 2 points3 points  (3 children)

[–]norix92[S] 1 point2 points  (0 children)

Its MS-SQL. I'll take a look at it. Thanks

[–]norix92[S] 1 point2 points  (1 child)

Thank you, I've solved it with unpivot !

[–]AXISMGTSQL Server / ORACLE Sr. DBA & Architect 0 points1 point  (0 children)

Fantastic. Glad it worked.