Viewing 15 posts - 301 through 315 (of 6,036 total)
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...
_____________
Code for TallyGenerator
September 29, 2020 at 3:09 am
So, it uses the same kind of lookup table but stored in Windows Registry.
Not sure how gods is it in terms of performance, but it does not eliminate the necessity...
_____________
Code for TallyGenerator
September 28, 2020 at 1:44 pm
Does AT TIME ZONE know that it has to add 11 hours for CompletionDate from Friday but 10 hours for CompletionDate on Monday?
if yes - where does it take from?
_____________
Code for TallyGenerator
September 28, 2020 at 12:32 pm
Still does not solve the issue with DLS.
i worked with a system which was saving OrderDate as UTC datetime. And converted it to a local time on the way back...
_____________
Code for TallyGenerator
September 28, 2020 at 11:16 am
5 developers (actually more, but 5 was a typical number of SQL developers on roster at the same time) developed a system with weekly -partitioned transaction tables. It was a...
_____________
Code for TallyGenerator
September 25, 2020 at 10:49 am
There is no point of shrinking tempdb - it will grow back.
You need to find out which process makes it grow beyond reasonable limits and figure out how to change...
_____________
Code for TallyGenerator
September 24, 2020 at 2:26 pm
The table size usually includes the size of all indexes created on the table.
for SELECT * query you need to know the size of the index with indid=1 or 0.
_____________
Code for TallyGenerator
September 24, 2020 at 12:52 am
There is no non-clustered idx on mule_batch_id column.
It seems you already know what to do.
At least you identified the cause of the problem correctly.
_____________
Code for TallyGenerator
September 21, 2020 at 6:09 am
Here's my analogy. People love eating hamburgers. Most people, however, do not care to know how the meat paddies are made. No amount of interest piquing is going to...
_____________
Code for TallyGenerator
September 21, 2020 at 4:21 am
Thanks for the reply. Everything you've written is true but it doesn't help me. And I should know (and I do) how to optimize the query. The issue is...
_____________
Code for TallyGenerator
September 19, 2020 at 2:59 pm
It's a good question. I don't get to decide, the business do. The rules are arbitrary so I have to use a fixed table, in fact several. This (table...
_____________
Code for TallyGenerator
September 11, 2020 at 1:44 pm
Oops, I appear to have removed Sergiy's comment about Easter 2021 as being a holiday! I meant to hit Quote not Report!
In response, Easter 2012 might be a holiday...
_____________
Code for TallyGenerator
September 11, 2020 at 1:10 pm
Such insanely bloated calendar tables have actually become much closer to the norm.
It's terrible.
Not to mention - it's useless.
Local government and councils have a habit establishing they own...
_____________
Code for TallyGenerator
September 11, 2020 at 5:04 am
That's nothing.
How about 2 multi-million rows tables (one of them is closer to billion) joined by a value extracted from an XML column?
Yes, by XML_col.value('XML path', 'int' )
The job running...
_____________
Code for TallyGenerator
September 10, 2020 at 3:00 am
I came up with something similar prior to my previous post and rejected it as a solution on my part because of the ISNULL's. It would be interesting to...
_____________
Code for TallyGenerator
September 10, 2020 at 2:36 am
Viewing 15 posts - 301 through 315 (of 6,036 total)