luvtitans50
MIS
I have a formula that I have created:
checkdate between '2010-01-01' and (Select checkdate from prcheckheader where checknumber = @checknumber)
I don't want to have to remember to change ('2010-01-01' )
to always be the first of the year? How can I write the date so it always picks up the first day of the current year?
Thanks!
checkdate between '2010-01-01' and (Select checkdate from prcheckheader where checknumber = @checknumber)
I don't want to have to remember to change ('2010-01-01' )
to always be the first of the year? How can I write the date so it always picks up the first day of the current year?
Thanks!