Viewing 15 posts - 901 through 915 (of 59,072 total)
Not sure how long you're planning to have this code active but it will "only" continue to work if the dates are less than 68 years, 1 month, 2o days,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2023 at 2:06 am
I could certainly be wrong but I'm not sure this can be done. I don't remember where I read it (mostly because I don't use containers, or at least not...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2023 at 1:35 am
Nice and complete article, Daniel. I, unfortunately, don't have the time to give it a try myself... at least now right now.
What WOULD be interesting is to give it the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 4, 2023 at 1:23 am
I'm confused. What is this in relation to?
Typical "prelude to SPAM under another name or tag team".
--Jeff Moden
Change is inevitable... Change for the better is not.
December 3, 2023 at 1:50 am
As a bit of a sidebar, the default sucks for performance. ROWS is faster than RANGE in the testing I've done in the past. It would have been nice if...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2023 at 4:10 pm
Oh, and I missed the formatting thing. Yeah, it does it. Just double click on the batch_text or whatever field and it will open a window like this one:
--Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
November 30, 2023 at 3:38 pm
Yeah, you can set up SQL Trace or Extended Events to catch those errors. It's like a net for those SQLExceptions. But in the long run,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2023 at 3:33 pm
Yeah, you can set up SQL Trace or Extended Events to catch those errors. It's like a net for those SQLExceptions. But in the long run, asking devs...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2023 at 1:10 pm
hi folks
really appreciate the feedback here guys, although i am now in a state of, what the hell do i do now - which is no bad thing, lets...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2023 at 9:53 pm
Jeff
look at my reply above , thats a five day window!
the scripts i use for indexing are just the standard ola hallengren scripts
And as i said, normal erp sql...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 29, 2023 at 3:45 am
Jeff - that's what I am doing now, just using Replace(). I wanted to know if there was a better way to do it and so far it looks...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2023 at 6:25 pm
You're looking at a 10 minute span of time for TempDB. Was that span of time during your long winded run?
You also say that "i run decent index routines nightly". ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 28, 2023 at 5:20 pm
Check the 3 underlying views. If they're all pulling from the same tables, it might be worth while to crib some of the code and write a separate...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2023 at 7:01 pm
Hello, our users are complaining about blocking during a delete loop so I'm thinking that adding begin tran; and commit tran; inside the loops would allow the other queries...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2023 at 6:55 pm
Check the 3 underlying views. If they're all pulling from the same tables, it might be worth while to crib some of the code and write a separate query, especially...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2023 at 6:13 am
Viewing 15 posts - 901 through 915 (of 59,072 total)