Viewing 15 posts - 406 through 420 (of 5,109 total)
hi again
actually the function does not work properly after mant tests
With respect, this does not surprise me; I did mention that the Function was flawed in my above...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 30, 2020 at 10:25 am
Most likely refreshing intellisense will clear the "error". It's more a warning, not an error, though; like Google Chrome telling you that "colour" is wrong because it defaults to American...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 29, 2020 at 8:33 pm
The CASE expression in your SQL seems overly complicated
CASE WHEN Row_Num < Row_Num + Row_Num THEN 'False' ELSE NULL END
Any positive number will be less than itself...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 29, 2020 at 2:37 pm
My points about the TVF you have still apply though, tanehome. A Multi-line table value function, with a WHILE is going to be very poor for performance. You really want...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 29, 2020 at 1:28 pm
Having a separate table for the holidays isn't a problem; I personally (at the office) use a separate table to store holidays; mainly as i store some additional meta data...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 29, 2020 at 1:15 pm
Ok, that function needs a massive change anyway, it's a Multi-line table value function and it's using a WHILE; both are (with respect) absolutely terrible for performance. What is the...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 29, 2020 at 12:17 pm
What were the attempts you made to make it into a iTVF as well, and what were the error(s) you got?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 29, 2020 at 11:34 am
Honestly, this is why I personally find it easier to just store anything in UTC if I'm ever working with time sensitive data, or multiple timezones (and I include the...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 3:45 pm
Surprised, Ed, you didn't notice that there's also a few +xx:45 timezones too. >_< (New Zealand is "responsible" for one of those.)
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 2:43 pm
And don't even get me started on all the partial hour ones.
Ran into that problem the other week, when sorting out an event that changed from being a real...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 2:35 pm
Unfortunately, it seems it isn't DST aware for all timezones, as Britain doesn't have a timezone listed, but I assume it suggest we use Greenwich Standard Time.
Greenwich Standard...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 2:15 pm
AT TIME ZONElooks like it is aware that DST changes on different dates in most timezones. Take the following:
SELECT CONVERT(datetimeoffset(0),'2020-09-28T14:00:00+01:00') AT TIME ZONE 'Eastern Standard Time' AS...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 1:25 pm
You are absolutely right. However, the missing DLL's are part of the MSFT 2008R2 operating system, which means that our predecessor never evaluated the chance future operating systems might...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 8:25 am
Even if you were to us 2008 packages in SQL Server 2016, that wouldn't solve the missing DDLs; they'd still be missing. If you're missing DDLs for the packages to...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 28, 2020 at 7:49 am
What do you mean by "greater than NULL"? In SQL NULL has the lowest value than any other value, regardless of data type, so are you simply after values that...
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
September 18, 2020 at 10:47 am
Viewing 15 posts - 406 through 420 (of 5,109 total)