Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Customized DATEADD function

$
0
0

Hi I have a one Data column with this value ..

2013-10-23

I want to put a one case statement that If above value is > to mid of the month (15th of particular month)

then It should show 2013-10-01 & if less to mid of the month then should show first date of previous month like 2013-09-01

Pls Help on this ..


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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