Viewing 15 posts - 166 through 180 (of 6,036 total)
Can you post the second query, and probably execution plan for it too?
How is the query you posted is invoked and how its resultet is used?
March 15, 2021 at 12:03 pm
Not to forget - there are situations when definitions of workdays are different within the same organisation. Health, logistics, hospitality business, retail trading, etc. - they all typically have different...
March 15, 2021 at 3:05 am
No code can fix performance issues caused by faulty database design.
If you think otherwise - try to fix performance (and scalability) issues on msdb.
March 14, 2021 at 1:28 am
It's easy and flexible to include weekends in a Calendar table, usually with two flags one that says weekends, one that says holidays. Sometimes Christmas falls on a...
March 13, 2021 at 1:34 am
Good Point Sergiy.
Public holidays are also excluded. , but right now Id just like to solve the weekends and then see if there is a solution for hoildays as...
March 12, 2021 at 7:51 pm
...
The problem is, we don't ship on the weekends ie. Sat and SunThe problem is, we don't ship on the weekends ie. Sat and Sun ...
Do you ship on...
March 12, 2021 at 8:21 am
For the beginning MS should not have stuffed SQL Server with XML, JSON, columnstore, blob's other big data features which have nothing to do with relational algebra.
Placing big chunks of...
March 12, 2021 at 3:34 am
edited. See below
March 9, 2021 at 3:59 am
I'm not sure who or what marked the post by fgrodriguez as spam but I'm reposting it here so that the de-spaminator doesn't delete it.
I'll also state I'm a...
March 5, 2021 at 4:07 am
It seems that a.oid and tm.oid are of different data types.
any reason for that?
March 2, 2021 at 2:54 pm
Do records with different locale settings arrive within the same file?
most likely not. Different ERP systems could send dates in different formats, but those formats would be consistent within all...
February 12, 2021 at 10:33 am
Scott, you forgot about "Unknown".
Here is a simple JOIN version which also uses a single scan through the table and is less dependent on hardcoded values:
DECLARE @Ind...
February 7, 2021 at 12:23 am
I've had many managers in the past 20 years. Some were good, some not so good, and some were terrible. The not-so-good ones can sometimes be "trained" through demonstration...
February 6, 2021 at 11:16 pm
Start with adding ROW_NUMBER() over PARTITION BY Month.
February 6, 2021 at 9:57 pm
F.clems, if you need to use tricks and manipulation to bypass the system in order to get a good result, then the system is broken, don't you think?
February 6, 2021 at 9:37 pm
Viewing 15 posts - 166 through 180 (of 6,036 total)