Viewing 15 posts - 1,111 through 1,125 (of 59,091 total)
Have you looked to see if the indexes on the table are the same? Have you updated statistics lately on either?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 23, 2023 at 12:22 am
Heh... apparently, the OP has left the building. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 22, 2023 at 10:47 pm
IMHO, take the time to force the MAX to be out of row and default the error to an empty string to prevent the pointer from being "expansive". Have max...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 22, 2023 at 10:45 pm
If you're going to do lots of date-related analysis, I'd just create a Calendar table with all the columns you want to group by, and then join to that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 22, 2023 at 4:23 pm
yes, it works.
appreciate your reply.
The question now is, do you understand why the fix worked and why you were getting the original issue?
The other question is, do you know...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2023 at 9:54 pm
Bumping this for you because I'd like to see what other people have to say about this for Database Code.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2023 at 9:52 pm
On the subject of the backup failure...
IMHO (and experience but YMMV), it's a complete waste of time to backup a 2TB log file (happened to me the 2nd day of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2023 at 9:43 pm
Next year, the 1st of January occurs on a Monday. What do you want to do with the previous Sunday, which is from the previous year?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2023 at 9:34 pm
Sorry... posted to the wrong question and removed this post. See the next post down for my answer on this posted problem.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2023 at 9:33 pm
"The damned recruiter gave the candidates both the questions and the answers. I know this because I added a "hairball" question with a totally made up answer and when...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 21, 2023 at 7:21 pm
First, nice article. It appears well written, is in a good "order of revelation", and includes the code in an easy to read format. Kudos for all that and thank...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2023 at 10:17 pm
Duration only identifies how long something has been running. It is possible that a SPID was running something with many queries for a long period and, when it finally got...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2023 at 8:53 pm
I would not touch tables in master at all personally. MSDB can get quite large for job history and backup history.
I wouldn't rebuild indexes that don't need it. I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2023 at 8:42 pm
Post withdrawn.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2023 at 8:32 pm
I've been through that with a recruiter before. The recruiter wanted the questions and the answers so that they could do the filtering.
The damned recruiter gave the candidates both the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 20, 2023 at 7:52 pm
Viewing 15 posts - 1,111 through 1,125 (of 59,091 total)