Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Hi,Hope someone can help me with writing SQL code to convert blocks of columns into rows.Example,Id A1 A2 B1 B2 1 1 1 1 12 2 2 2 23 3 3 3 3intoId Group Value1 A 11 A 11 B 11 B 12 A 22 A 22 B 22 B 2Thanks.