Posts by Samuel Coelho • 1 point
1 post
-
0
votes5
answers10525
viewsA: Show every day between two dates
DECLARE @dataInicio DATE DECLARE @dataFim DATE BEGIN CREATE TABLE #calendario ( data DATE, yearmonth VARCHAR(9) ) SET @dataInicio = (…
1 post
0
votes5
answers10525
viewsDECLARE @dataInicio DATE DECLARE @dataFim DATE BEGIN CREATE TABLE #calendario ( data DATE, yearmonth VARCHAR(9) ) SET @dataInicio = (…