Most voted "sql-server-2000" questions
None
Learn more…1 question
Sort by count of
-
2
votes1
answer140
viewsSwap rows for columns
Hi, I have the following query: set NOCOUNT on; declare @_mes int = 2 declare @_ano int = 2016 declare @_dataini datetime = CONVERT(DATETIME, '01/' + REPLICATE('0', 2 - LEN(@_MES)) + CAST(@_MES AS…