Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Calculate BACKLOG_M_1

$
0
0

I need to calculate the BLACKLOG_M value corresponding to the Snapdate of the first of the month. It becomes a constant value repeated for each line of the month

select * from test

SNAPPERIANNEEMOISBCKlogBCKlog-1
01/09/201820180820188NULLNULL
02/09/201820180920189NULLNULL
03/09/201820180920189NULLNULL
04/09/201820180920189NULLNULL
05/09/201820180920189NULLNULL
06/09/20182018092018925279.3465475233NULL
07/09/201820180920189NULLNULL
08/09/201820180920189NULLNULL
09/09/201820180920189NULLNULL


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>