Viewing 15 posts - 6,586 through 6,600 (of 59,102 total)
Table has 30 million rows, 11 GB in size, I need to alter one column from INT into BIGINT. I need to keep downtime to 10 min max.
Presently there...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 22, 2020 at 6:35 pm
Not sure if this has been done, but I thought I'd have a little fun on a rare day off:
The MSSQL DBA's Prayer:
Our Master, which art in DataCenter
Two-part be...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 22, 2020 at 1:45 am
The problem with this approach is that you no longer have a dynamic report where the user can select the date range. You have a fixed report for a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 22, 2020 at 1:42 am
@JeffModen - although your code works in SQL Server, it will not work in an expression in an SSRS report.
Missed the fact that this was an SSRS...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 10:33 pm
Male mosquitoes do not suck blood anyways, so that statement means nothing. Why don’t they just experiment in the UK?
Hope it gets blocked. If something goes wrong, or horribly...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 10:13 pm
@JeffModen - although your code works in SQL Server, it will not work in an expression in an SSRS report.
Missed the fact that this was an SSRS forum. Thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 10:07 pm
You won't find many folks that will click on a link on this site. Also, if that other site drops off the face of the planet, then the answer is...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 10:04 pm
Lordy... absolutely nothing could go wrong with this little test, right?
https://www.yahoo.com/news/jurassic-park-experiment-750-million-132816442.html
Apparently they didn't watch the part in the original movie where "nature found a way".
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 7:54 pm
Thanks, I also heard complex logic should handle in business layer not on database layer. Is that just some people's preference?
Personally, I've found that people's opinion of what the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 6:00 pm
SELECT StartDate = DATEADD(wk,-11,DATEADD(dd,DATEDIFF(dd,0,GETDATE())/7*7,0)) --Monday, 11 Weeks ago
,EndDate = DATEADD(wk, 1,DATEADD(dd,DATEDIFF(dd,6,GETDATE())/7*7,6)) --This coming Sunday
;
The...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 2:22 pm
There are SSIS packages for other purpose of this project, but not for this process.
Heh... there's no way that I'm even coming close to suggesting SSIS for this or...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 2:04 pm
I'll start off by saying that, once you've eliminated the double spacing, the first 463 lines of code are all a part of the dbo.sp_send_dbmail stored procedure, which is a...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 20, 2020 at 1:13 am
Getting back to the original question, the reason why it's not using so much CPU is because it seems to be IO bound (IMHO) due to the RBAR nature of...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2020 at 11:36 pm
Speaking of pork chop cannons... here's one that needs about a 9 course dinner. I'll never understand such requests.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2020 at 7:30 pm
Amazing!
Is there a guide for in flight cooking? Frozen, thawed, and properly cooked would be good to know.
The rules for in flight cooking are simple... Frozen only... it makes...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 19, 2020 at 7:27 pm
Viewing 15 posts - 6,586 through 6,600 (of 59,102 total)