Viewing 15 posts - 451 through 465 (of 1,424 total)
There is a MERGE statement which does some data consolidation is being run very 10-15 mins. I dont know why. They are giving weird reasons saying its a business...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 15, 2022 at 11:06 pm
Easy. Exactly the rabbit hole we all fall into sometimes.
If life was easy, would any of us have a job? After all, some in politics imply with a couple...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 5, 2022 at 3:30 pm
We're trying to identify groupings in events, no? You've yet to describe or list the exact output you're looking for from the query. Route 810030 has Grp 10, 16, and...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 5, 2022 at 3:41 am
One way to select intervals where the drop off grouping is hierarchically preferred to the pick up grouping could be to divide the data into two groups: Group1 = BookingID's...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
April 4, 2022 at 1:29 pm
Old thread on a 7 year delay! Minor correction to the earlier response tho. For generic SQL statements the default is OFF, however, for TRIGGERS it's ON. The documentation only...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 31, 2022 at 9:43 pm
Http verb-specific route handlers in .NET 6 filled the last missing piece of the data access puzzle
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 31, 2022 at 6:09 pm
Now that the Briefcase in SSC actually works I'm able to find old bookmarked threads. This was a good one
https://www.sqlservercentral.com/forums/topic/replace-table-with-staging_table-approach
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 30, 2022 at 5:15 pm
When there is no name provided for an array you could use OPENJSON without specifying a schema and then refer to the array as '[value]' (with appropriate table/tvf alias'ing) in...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 28, 2022 at 4:27 pm
A default value doesn't do an update once the entry is populated by a default and it needs to change with every action.
The trigger "prevents" (assuming READ COMMITTED only)...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 28, 2022 at 1:27 pm
Speculating regarding temporal tables what if you defined ORIGINAL_LOGIN() as the default value of a column in the base table and use a trigger to prevent it from being overridden...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 28, 2022 at 12:01 am
Here's the screenshot! Congratulations again Jeff Moden and THANK YOU for everything 🙂

Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 16, 2022 at 5:31 pm
Awesome job, Steve!
Thank you Professor Moden! Congratulations in advance for passing the 1,000,000 point milestone. I appreciate and learn from you all the time and I hope you get...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 16, 2022 at 4:32 pm
Sure, the function code is below. It was taken from this article
CREATE FUNCTION [dbo].[fnTally]
/**********************************************************************************************************************
Jeff Moden Script on SSC: https://www.sqlservercentral.com/scripts/create-a-tally-function-fntally
**********************************************************************************************************************/
...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 16, 2022 at 4:14 pm
In a CTE you could select the date difference between the CreatedDate and the LEAD(CreatedDated, 1, default) where the default is the current month (+1 to deal with boundary crossing). ...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 16, 2022 at 2:38 pm
Just a quick venting/raging......Entity frameworks using code first is the spawn of the devil himself. It is seriously one of the worst anti-patterns I have ever seen. Thanks I...
Aus dem Paradies, das Cantor uns geschaffen, soll uns niemand vertreiben können
March 10, 2022 at 5:26 pm
Viewing 15 posts - 451 through 465 (of 1,424 total)