Posts by Germano Frota • 21 points
1 post
-
2
votes5
answers10525
viewsA: Show every day between two dates
Another suggestion: /* SQLQUERY - MONTA LISTA COM DATA INICIAL ATÉ HOJE */ DECLARE @TMP TABLE ( DATA DATETIME NULL ) DECLARE @DATAINI DATETIME SELECT @DATAINI = '2017.01.01 00:00:00.000' INSERT INTO…