Viewing 15 posts - 181 through 195 (of 59,038 total)
I would recommend updating statistics after you re-attach the database.
I've seen several people say that. I have to ask "Why"? The statistics are stored in the database just like...
December 30, 2024 at 10:00 pm
Just curious, Rod. Did you ever figure this out?
December 30, 2024 at 9:53 pm
Between updates, just set the database to "Read Only". As an alternative, you can create individual File Groups with one or more Files in each and set those File Groups...
December 30, 2024 at 9:51 pm
I don't work with Powershell in most cases, which means I'm not very good with it. GOOGLE seems to work for this though.
Try this link.
https://sqlstudies.com/2022/07/07/powershellbasics-expanding-the-column-width-to-avoid-truncation/
December 27, 2024 at 4:58 am
The following supposedly applies only when your database is in the BULK_LOGGED or SIMPLE Recovery Models.
There is a feature known as "Fast Inserts". I wrote about that hot mess back...
December 26, 2024 at 10:45 am
BWAA-HAA-HAA! This was more of a test of knowledge about Christmas songs than I thought it would be. 😀
December 26, 2024 at 9:43 am
Merry Christmas, Steve, and thank you for the early present of seeing you at the Pittsburgh SQL Saturday. It was a real treat, my ol' friend.
December 26, 2024 at 2:47 am
Thank you kindly for the feedback, windchaser... especially after nearly 20 years! I couldn't believe it.
December 24, 2024 at 9:36 pm
You've answered you own question. The tables are, in fact, NOT identical. You different indexes, which can make the difference between a full table scan (or clustered index scan) and...
December 24, 2024 at 7:32 pm
I personally don't write code to do imports any more, but I sure used to.
I did pretty much the opposite as what others do. There were some exceptions, of course,...
December 20, 2024 at 9:56 pm
I find that a whole lot of people have some really serious problems with smaller data sets. I been told probably hundreds of times that "performance doesn't matter...
December 20, 2024 at 2:01 am
For starters, change this...
DECLARE @cmd NVARCHAR(MAX);
... to this ...
DECLARE @cmd NVARCHAR(4000);
Then see the following for why...
December 20, 2024 at 1:40 am
I find that a whole lot of people have some really serious problems with smaller data sets. I been told probably hundreds of times that "performance doesn't matter because it...
December 19, 2024 at 2:20 am
The OP said "but that session is a background session with a command of "DB Startup" and that he has the logfile being backed up an truncating every hour but...
December 18, 2024 at 3:49 pm
What type of files are you doing this for? Plaiu text., CSV, TSV, PDF, what?
December 17, 2024 at 8:41 pm
Viewing 15 posts - 181 through 195 (of 59,038 total)