var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: SQl date question.
I want to select the first day of the actual month. i tryed this:
select dateadd(mm,-1,getdate()) but it shows me the actual date, less one month not the first day of the amonth.
you might need to do this -
select dateadd(day, -(datepart(dd, getdate())) + 1, getdate())
to get first day of the month given current date. the behavior shown by your select is correct, it'll give take you back one month from current date.
Hi there thankssssssssssssssssssssssssssssssssss a lot
you saved me.