Viewing 4 posts - 16 through 19 (of 19 total)
This is an application for Jonathan's daterange function. Here is his article:
https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
Something like this:
declare
@input_yearint=2019,
@input_monthint=9;
declare
@test_monthdate=datefromparts(@input_year,@input_month,1);
select
...
October 8, 2019 at 12:48 pm
damn, that scuppers that idea then.
as i have a problem that this might have been a solution for.
October 8, 2019 at 12:48 pm
is this compatible with SQL2000?
October 8, 2019 at 12:25 pm
the only days i would be exluding are weekend days (so no other holidays to be excluded).
so would a calendar still be the most appropriate way to do this?
I currently...
October 7, 2019 at 10:08 am
Viewing 4 posts - 16 through 19 (of 19 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy