Viewing 15 posts - 2,131 through 2,145 (of 7,615 total)
There must be some active transaction (or replication or other task that needs the log records).
What does DBCC OPENTRAN on that db show?
November 23, 2020 at 12:51 am
Wouldn't you want just the network? The recipients are email addresses, not phone numbers afaik.
@recipients = @N,
November 20, 2020 at 3:48 pm
WHERE
D >= DATEADD(MINUTE, DATEDIFF(MINUTE, 0, GETDATE()) / 15 * 15, 0) AND
D < DATEADD(MINUTE, DATEDIFF(MINUTE, 0, GETDATE())...
November 19, 2020 at 9:12 pm
For the ~100K rows in the tmp table, what percent range of the DeliveryTimetableID values in the larger tables do they represent?
That is, if the min/max values of DeliveryTimetableID in...
November 19, 2020 at 7:16 pm
SELECT B.InsDtTime, A.RunDate, A.AID, A.AValue AS NewValue, B.AValue AS OldValue
FROM #tblTest1 A
CROSS APPLY (
SELECT TOP (1) *
FROM #tblTest2 B
...
November 19, 2020 at 6:59 pm
Hmm, unless your data involves most of the table, I would think SQL could use a MERGE join rather than the HASH join for all those rows. Would you be...
November 19, 2020 at 2:55 pm
Everything we do today is affected by punchcards, and then by COBOL. Look at how 00 programming still assumes a procedural model.
Are you surprised that all animals have DNA?...
November 18, 2020 at 11:54 pm
IF (
(
(ABS(SIGN(@Var1-@VarA)))
...
November 18, 2020 at 11:43 pm
Similar to what Grant mentioned, I'd suggest creating a table to help manage the process. Run a process every day to update the table with the next...
November 18, 2020 at 10:33 pm
In the old days, particularly with PL/1, we would do the multiple IF's. Because it was easy to slip a new punchcard in the deck when we found we...
November 18, 2020 at 10:28 pm
> we renamed the sql error log out file in agent properties <<
I think that would require a recycle of SQL Server. You don't need to do that. You should...
November 18, 2020 at 10:06 pm
Try better clustering in a test system somewhere. You might be pleasantly astounded by the results.
Table dbo.TSys_Lookup_Date D should almost certainly be clustered first on [Date].
Try clustering dbo.T_DeliveryTimetableItem and dbo.T_DeliveryTimetableItemResolvedCost...
November 18, 2020 at 9:58 pm
Similar to what Grant mentioned, I'd suggest creating a table to help manage the process. Run a process every day to update the table with the next day's planned...
November 18, 2020 at 9:48 pm
It's not worth that risk for such a tiny gain.
In a single execution, the gain may be small, bring it up to 100K/Sec and that...
November 18, 2020 at 4:54 pm
Viewing 15 posts - 2,131 through 2,145 (of 7,615 total)