Viewing 15 posts - 1,246 through 1,260 (of 4,820 total)
DECLARE @c3 DATETIME = '2014-03-01 04:00:00.000';
/*
UK DST dates...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 21, 2018 at 8:12 am
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 21, 2018 at 6:39 am
You appear to be going down the right road here. If the data in EVERY one of the xml files has the exact same schema, then my code would be...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 21, 2018 at 6:21 am
The desired input would be as follows
Company...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 21, 2018 at 6:07 am
With apologies to Disney, kids everywhere, and this forum's readers:The most wonderful thing about Triggers,
is triggers are dangerous things!
Their insides are made out of queries,
Their outsides...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 12:34 pm
I was looking...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 12:27 pm
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 12:19 pm
autoexcrement - Friday, May 18, 2018 12:09 PMOP claims "Same predicates, same filters"
Yes, but a filter that can cause unreliable results isn't...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 12:14 pm
How about at least using SET NOCOUNT ON to prevent additional result sets from occurring that might not be doing you any favors? The other thing to check is what...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 12:12 pm
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 11:55 am
I can think of another example of when to use one. I had a work scenario where the business rules for placing a new phone number into a given "slot"...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 11:31 am
Turns out that the formula in question:=c3-(PRODUCT(c3-DATE(YEAR(c3),{4,11},1-WEEKDAY(DATE(YEAR(c3),{4,11},0)))-1/24)<0)/24
just takes any given datetime value, and within that value's year, subtracts one hour whenever the value is between March 30th...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 11:18 am
I'll have to partially retract that last post... I looked up curly braces and found it's an "array formula" in Excel. I actually HAVE seen that before, but it was...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 9:54 am
I think...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 9:33 am
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
May 18, 2018 at 9:28 am
Viewing 15 posts - 1,246 through 1,260 (of 4,820 total)