Viewing 15 posts - 2,116 through 2,130 (of 7,608 total)
You guys must be suffering from Covid or something. You guys know better than to banter about with claims of performance without demonstrative code to prove your position. Especially...
November 26, 2020 at 3:44 am
Yes, you can drop IDX1; IDX12 can cover all queries that would use IDX1.
November 26, 2020 at 3:42 am
Sure, you can do that. And you should do that.
You could also move those columns (attributes) into the main table, but it's often useful to have a separate 1-1 table...
November 25, 2020 at 3:41 pm
No, you'd use table DML triggers to handle table modifications (DELETE and/or INSERT and/or UPDATE).
November 24, 2020 at 7:03 pm
IF (
(
(ABS(SIGN(@Var1-@VarA)))...
November 24, 2020 at 6:14 pm
As far as I know, after doing a lot of research, once you deploy in memory tables you cannot delete filegroups. It's some kind of product limitation....
Yep, that is...
November 23, 2020 at 10:41 pm
I would think that would be possible.
Can you bring that filegroup back online and REMOVE it? I think that would clear it up, if that was the issue.
November 23, 2020 at 5:46 pm
The code given with the /15 and *15 integer math is to figure out the 15-minute time period that contains the current time. As I write this, it is...
November 23, 2020 at 5:43 pm
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
Viewing 15 posts - 2,116 through 2,130 (of 7,608 total)