Forum Discussion

Lexterb's avatar
Lexterb
Copper Contributor
Mar 06, 2024

Rows to columns

This is my source table. I use this script but the output is not aligned, iI want that the same date is aligned. SELECT top 10 empno , [0] as [punch_code0] , [1] as [punch_code1] , [2] as ...