ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Query to use DateDiff in SQL Server<p>Hi <a class="username" rel="rakibxl"> rakibxl</a>,</p> <p>Refer below query.</p> <p><strong><span style="text-decoration: underline;">SQL</span></strong></p> <pre class="brush: sql">SELECT DATEDIFF(MONTH,&#39;2017/10/1&#39;,DATEADD(MONTH,1,&#39;2018/10/1&#39;))</pre> <p><strong><span style="text-decoration: underline;">Output</span></strong></p> <p>13</p>https://www.aspforums.net:443/Threads/181256/Query-to-use-DateDiff-in-SQL-Server/https://www.aspforums.net:443/Threads/181256/Query-to-use-DateDiff-in-SQL-Server/Tue, 23 Oct 2018 05:01:20 GMT