Viewing 15 posts - 4,606 through 4,620 (of 59,089 total)
Thank you very much for the valuable feedback. So does my suggestion to add more data files to TempDb sound reasonable then?
To me... no. Even if you do that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2021 at 2:34 pm
Ya know... the very least you could do is run that code through a decent formatter to get proper indentation the help with readability.
While I'm sure it's not the whole...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2021 at 2:30 pm
I've amended your code. I think this should be a few times faster as it removes the need for a tally of 7 week days and just calculates...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2021 at 12:57 pm
Heh... one good test result is worth a thousand expert opinions. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2021 at 6:18 am
Ok. So what in the code uniquely identifies that code and ONLY that code? Which DB_ID does it run against? What is the USER_ID the code from the front...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2021 at 12:06 am
Sure, it's above; I posted it years ago, when this q was first asked.
Actually I should adjust it again, you only need to calc the very first Friday, from...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 10:25 pm
Is it a stored procedure or ad hoc code or ???
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 8:35 pm
Heh... keeping with the spirit of the question... 😉
Results;
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 6:38 pm
Welp then start adding columns one by one until it breaks 🙂
Good lesson on basic troubleshooting. Sorry I almost screwed that all up with my post about desk checking.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 5:32 pm
I'm needing to convert some varchar figures to decimal for sums, but can't quite find an example that works... the second block of code just returns the list of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 4:54 pm
This is a bit like saying I have something that I want to store in the pantry. What type of container should I use?
What does the data you're trying to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 4:19 pm
With the understanding that I've never tried it before, have you tried using EXEC?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 4:12 pm
Ran into an issue that caused me some issues. It seems that when I backup a database that is in FULL recovery mode and restore it to a different...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 4:04 pm
Although sometimes unavoidable, killing sessions is actually a pretty dangerous thing to do in SQL Server. Killing sessions automatically is about 3 times worse.
Prevention and privs control is the best...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2021 at 3:53 pm
Hello,
In my application, with a DB running on SQL Server 2012, I've got a job (scheduled task) that periodically executes an expensive query and writes the results to a...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 22, 2021 at 8:16 pm
Viewing 15 posts - 4,606 through 4,620 (of 59,089 total)