Viewing 15 posts - 6,931 through 6,945 (of 59,072 total)
I have to agree with Sergiy. I'll also add that, if it is he index maintenance job, it's usually because of the "Death by Deframentation" horror that goes by the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 8, 2020 at 4:07 pm
What I've found is that "Data" is always correct. "Information" derived from the data is not. And even if the "Data" is skewed, it is still correct but...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 7, 2020 at 3:03 pm
If you really want to stress test some hardware, just migrate your existing code to it. That's when you'll find out two things... your code really is crap and all...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 11:49 pm
What I've found is that "Data" is always correct. "Information" derived from the data is not. And even if the "Data" is skewed, it is still correct but incomplete.
I love...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 11:37 pm
Thee are several methods for doing this but they're all too long to post here with any understanding. My recommendation is that you do a search for it and pick...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 7:19 pm
can moderator please delete my post with all html above? I apologize for that.
It would be quicker if you just edited the post and deleted the code block with...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 7:14 pm
I have no idea why Microsoft has kept that option in the product - auto shrink will cause massive fragmentation of the database every time it shrinks. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 7:11 pm
Just to confirm, COALESCE won't provide an improvement in performance over CASE, although it will make the code a whole lot easier. Behind the scenes, the optimizer converts a COALESCE...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 3:20 pm
I have no idea why Microsoft has kept that option in the product - auto shrink will cause massive fragmentation of the database every time it shrinks. It is...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 2:57 pm
DECLARE @DateString nvarchar(100)='Wed Jun 29 15:57:45 2019'
SELECT CONVERT(datetime,SUBSTRING(@DateString,5,100))
I've always been astounded by the implicit conversions of strings to DateTime that SQL Server handles correctly. It seriously...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 6, 2020 at 2:08 pm
CDC can be used in AWS RDS - https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.CDC.html
but CDC does not push anything - just helps a ETL job to identify what has changed.
Got it. Thank you, good...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2020 at 10:45 pm
Sorry I should have been more detailed in my question. The variable is the collection variable for a foreach loop which is looping through the files in a folder....
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2020 at 10:06 pm
Post withdrawn.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2020 at 9:45 pm
I treat my Dev servers exactly the same as my Prod servers when it comes to backups and transaction logs and recovery models. It's has saved dozens of days of...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2020 at 6:29 pm
The eventual plan is that @Filename will be the parameter in an SSIS package so I don't think there is any risk of SQL injection through the use of...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2020 at 5:51 pm
Viewing 15 posts - 6,931 through 6,945 (of 59,072 total)