Viewing 15 posts - 1,486 through 1,500 (of 59,099 total)
SQL would be my first choice for cleaning data, while it's a powerful tool for querying and cleaning data, it may not be the best choice for performing complex...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 15, 2023 at 7:16 pm
Hi there! It sounds like you want to create league standings based on game data and team data in different seasons. Here's what you can do:
First, you'll need to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2023 at 10:37 pm
Thanks, Dennis... that was my exact first impression and for the very reason you stated... The word "but".
How about the rest of you good folks... did anyone else have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2023 at 6:58 pm
Jeff Moden wrote:why they thought SQL couldn't be used to do any of those things.
He he, first guess is that they don't know how to! 😎
Thanks, Eirikur. I appreciate...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2023 at 3:48 pm
Shifting gears a bit...
I ran across an article that had the following statement in it...
"Learning SQL helps us to communicate with databases, but when it comes to cleaning, manipulating,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2023 at 3:05 pm
@Below86 ,
Looking at what you said, I can really sympathize. To be sure, my comments were based on people that were actually hired to work with T-SQL day in and...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 14, 2023 at 2:42 pm
The appropriate method to shrink a log file for a database in bulk/full recovery model is:
1. put the database in simple mode, full backup
2. shrink the log file,
3. put...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2023 at 7:57 pm
Hey Jeffrey thanks for chiming in.
Let me clarify what’s happening. There is a delete query and an insert query wrapped in a Begin Commit/Rollback Tran. Some of the data...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2023 at 4:19 am
My concern isn't the advice to switch - it is that some believe that is the accepted method without understanding the risks.
Yep... I got that and agree.
Again, there...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2023 at 4:14 am
David... I thought that fighting tooth'n'nail to get something done right was "normal", especially since it wasn't their idea. And, because it wasn't their idea, they might try to kill...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2023 at 4:10 am
Nicely written, Nisarg . And the annotations in the screen shots are helpful and also nicely done.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 12, 2023 at 1:11 am
Ah. Totally get that. I'm thinking that they don't actually have a good backup, though and that this is "one of those times". But, good point.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2023 at 7:38 pm
What is the best way to capture sql database growth on a weekly basis and report it ?Thanks
The "best" way is to anticipate the next question that usually comes...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2023 at 5:45 pm
so code is just a view on top of this table, that does select * from this table without any filter.
Ok, so the code that's causing the performance problem...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2023 at 5:22 pm
Just to be clear, the reason I suggested going to the SIMPLE Recovery Model in my example was to, in fact, break the Log File chain in an...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2023 at 5:12 pm
Viewing 15 posts - 1,486 through 1,500 (of 59,099 total)