Viewing 15 posts - 1 through 15 (of 479 total)
In general, we (a call centre) specify the hours as provided by the contact: "8-5 Eastern time" and let the caller do the math.
Our service accepts incoming calls 8-5 caller's...
November 20, 2024 at 3:57 pm
In my experience, time zones + DST = no win. We gave up in despair years ago.
It might not be so bad if everyone switched between Standard and Daylight at...
November 20, 2024 at 3:21 pm
This should get you started
DECLARE @RangeINTEGER = 1000000
DECLARE @RowsINTEGER = (2000000000 / @Range) + 1
--SELECT @nRows
;WITH Num AS-- This will work for ranges > 172. Add another...
July 22, 2024 at 12:31 pm
Ran into a similar situation some years ago. After trying everything else, we stopped and re-started the SQL Server service and problem solved.
November 4, 2022 at 6:31 pm
Exceptionally busy next few days coming, but I did rebuild this morning, set a trace, and did check once to find 0.04% fragmentation - not the usual leap to 66.-whatever%...
August 10, 2021 at 9:13 pm
Confirmed: 0 for index level, In-Row-Data, and trigger generated the expected email for each of an actual Insert, Update and Delete.
FWIW: This is not a end of the world scenario...
August 9, 2021 at 4:56 pm
So... since the trigger isn't catching it, is my next step Extended Events?
August 9, 2021 at 3:38 pm
It's coming from Table - Indexes - Reorganize. The underlying source is sys.dm_db_index_physical_stats, I believe.
After load - create index, as well as after rebuild or reorg, avg_fragmentation_in_percent = 0
August 9, 2021 at 3:00 pm
So, the trigger has been in place, but has not fired. It's simple: On I/U/D, send me an email with the user_name().
I rebuilt the index on Friday morning, this morning,...
August 9, 2021 at 2:08 pm
Couple of days later. Wish I had the query handy, but it's on my other workstation, the one with the fried HD from a power blip last Friday. Good thing...
July 26, 2021 at 5:54 pm
Won't be around for long, methinks.
Also, still on 2008, and XE was not friendly in the slightest back ...er... now 🙂 That said, can't wait to start playing with it...
July 26, 2021 at 5:16 pm
As mentioned, the index is created post-load.
Thanks for taking the time to respond. Trigger, here I come!
I'll let you know what I find.
Thanks again
P
July 26, 2021 at 4:59 pm
Ah, I should have been clearer. It is dropped and re-created monthly, populated with 1.8m rows, and then create the index. Within 2 days, the dm tables are showing fragmentation.
Could...
July 26, 2021 at 3:52 pm
If you have space on prod, restore it to second DB on prod server, remove unneeded tables/content, then back that up and restore to dev.
July 9, 2021 at 3:07 pm
Thank you all.
This was a purely educational matter.
I share your concerns re: cursors and dynamic SQL, but sometimes there is no other way.
At any rate, this report will likely run...
June 15, 2021 at 11:12 am
Viewing 15 posts - 1 through 15 (of 479 total)