Posts by tcm • 41 points
1 post
-
4
votes3
answers75
viewsQ: How can I exclude the penultimate number from a period?
I’m trying to leave the period from 201601 to 20161 in SQL, but I can not at all! I wonder if someone could help me? SELECT CONVERT(NUMERIC(5), CONVERT(VARCHAR(4), YEAR(Periodo_Mensal))+…