Viewing 15 posts - 4,531 through 4,545 (of 59,067 total)
Heh... call the folks that are on the infrastructure team. They'll know.
Ha! Yeah, that was going to be my last resort. Since I recently inherited this server, I...
September 28, 2021 at 12:51 am
I figured it might be better than my BSOFH method which is to take the database offline and wait for the email. 😀
I thought that was accepted "Best...
September 28, 2021 at 12:45 am
There is a serious problem with the "equivalent" code you wrote though. It's not "equivalent" in the results for the last 3 tests. The table code comes up...
September 28, 2021 at 12:41 am
@ Jonathan,
I modified your code and comments a bit to provide an easier to read output on SQL Profiler. I also made each snippet write to a throwaway variable to...
September 27, 2021 at 4:54 pm
My belief is that you're doing this whole thing the wrong way. Have a look at how easy it can be at the following URL.
Depending on your reporting requirements,...
September 27, 2021 at 3:25 pm
I figured it might be better than my BSOFH method which is to take the database offline and wait for the email. 😀
September 27, 2021 at 3:01 pm
I've always considered the following article to be a must read on this subject.
https://www.itprotoday.com/sql-server/new-solution-packing-intervals-problem
September 27, 2021 at 11:47 am
The way we do it is that we don't check when was the last transaction, we put an extended event capturing anything that goes into the database and we...
September 27, 2021 at 11:35 am
Thank you Jeff. Spot on. Thanks
Scott was the first to respond. 😉
September 27, 2021 at 11:16 am
Thank you very much Jeff. I noticed one thing if there is none changed in the latest month it is not showing any record for the month it would...
September 27, 2021 at 10:35 am
Data output is for information what output columns expected etc. may not need to exactly match. but around.
Thank you much and apologize for the troublesome code
asiri
Just remember... If you...
September 27, 2021 at 2:05 am
That was just one of the problems with the data v.s. what you wanted for the output.
Anyway, here's the code you need.
WITH cte AS
(
SELECT FileMonth...
September 27, 2021 at 1:53 am
The latest version of the code works just fine now. I also took a look at your expected output. We don't need to create any code to know that your...
September 27, 2021 at 1:12 am
You really need to actually try to run the code you posted before you post it. Heh... you even apparently ignored what I told you what was wrong with the...
September 27, 2021 at 12:01 am
Ok. That sounds like the only reason you're adding the GUID is to try to avoid fragmentation. By itself, that's probably not a good enough reason. And, again, there's no...
September 26, 2021 at 11:54 pm
Viewing 15 posts - 4,531 through 4,545 (of 59,067 total)