Viewing 15 posts - 3,781 through 3,795 (of 26,490 total)
Jeff Moden (5/19/2016)
Lynn Pettis (5/19/2016)
Steve Jones - SSC Editor (5/19/2016)
drew.allen (5/19/2016)
May 20, 2016 at 7:40 am
Rod at work (5/19/2016)
Lynn Pettis (5/19/2016)
d e c l a r e -- spaced to...
May 19, 2016 at 11:02 am
Steve Jones - SSC Editor (5/19/2016)
drew.allen (5/19/2016)
May 19, 2016 at 9:47 am
Here is a simple way to swap two values to ensure StartDate is less than EndDate:
d e c l a r e -- spaced to allow posted from current location
...
May 19, 2016 at 9:20 am
Rod at work (5/19/2016)
May 19, 2016 at 9:13 am
Lynn Pettis (5/18/2016)
Lynn Pettis (5/18/2016)
drew.allen (5/18/2016)
Lynn Pettis (5/18/2016)
May 18, 2016 at 4:34 pm
smer (5/18/2016)
declare @ProcessDate datetime = '1/15/2015'; -- spaces added to allow code to be posted
select
--- dateadd(month, datediff(month, 0, mt.START_DATETIME), 0) as...
May 18, 2016 at 4:33 pm
Lynn Pettis (5/18/2016)
drew.allen (5/18/2016)
Lynn Pettis (5/18/2016)
May 18, 2016 at 4:00 pm
smer (5/18/2016)
Many thanks great work ....The results displaying fiscal to month, please modify the code fiscal to date that will display only one row result.
I'm thinking that...
May 18, 2016 at 3:58 pm
drew.allen (5/18/2016)
Lynn Pettis (5/18/2016)
May 18, 2016 at 3:50 pm
Love OPs that change the requirements midstream. Show things as calendar year, then suddenly it needs to be fiscal year. Big difference in how things are computed.
May 18, 2016 at 3:41 pm
Here is updated code. For 2015-10-05, it will go back to 2015-07-01 for the start of the fiscal year.
If @ProcessDate is 2016-06-30, it will still go back to 2015-07-01.
select
...
May 18, 2016 at 3:28 pm
smer (5/18/2016)
Lynn Pettis ...Exactly ! this is my requirement. Is this code works on fiscal year to date start from July to June?
This is the first you...
May 18, 2016 at 3:15 pm
smer (5/18/2016)
code showing many rows . It is possible to have one row result year to date ,only i have to pass the @processdate...
May 18, 2016 at 2:49 pm
Found this on my Facebook newsfeed: https://www.packtpub.com/packt/offers/data-week-2016?utm_source=facebook&utm_medium=cpc&utm_content=us2&utm_campaign=data-week-2016.
May 18, 2016 at 2:44 pm
Viewing 15 posts - 3,781 through 3,795 (of 26,490 total)