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

Round Function

$
0
0

Hi,

I have the following logic that I can't get to work, is there something I am missing that is required please?

Round([Tie contract value])/IIf(Round((convert([Date_Required])-convert([Date_in]))/(365/12),0)=0,1,Round((convert([Date_Required])-convert([Date_in]))/(365/12),0)),4) AS con_monthly


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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