Viewing 15 posts - 1,126 through 1,140 (of 59,072 total)
Here's a quick question for you because we have to enforce such things where I work... do you want the conversion to fail if the date contains less than 8...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2023 at 1:59 am
From the article:
A few of them are in this post, though he's written a book with 450 pieces of advice.
My first thought when I read that was when they replaced...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2023 at 1:24 am
All,
I'm new to Powershell so this could be a simple error.
I'm using a SQL agent job to backup a database to a UNC path and then rename it.
The...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2023 at 1:13 am
I see a lot of focus here on not reindexing at all - mostly because no one can prove that reindexing improves performance. I am not sure how that...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2023 at 1:05 am
I have to second Michael's recommendation yet again. Stop doing index maintenance on your RowStore indexes until you can prove some significant performance benefit. Use the time to do Statistics...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2023 at 11:13 pm
Good Lord! I've got more testing to do but I ran a simple "Tally CTE Function" test in 2017 and 2022 on my laptop. The results are REALLY...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2023 at 5:46 pm
Since you're not using SQL Server (based on the INT4 datatypes you used), it may be that the RDBMS you're using doesn't allow CTEs (Common Table Expressions),...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 13, 2023 at 2:00 pm
The intention was to know the reason do we need to bother about fragmentation for tables with 10's or few 100's of pages. I see dev team...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 8:18 pm
I agree with Phil. Posting inserts to populate the test table with data will help a whole lot.
Also, the code you posted isn't from SQL Server but, since...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 7:51 pm
And, sorry... I was reading and answering from top down. You and the OP got all this together.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 3:12 pm
If you just want an id you can just add ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) id, as a column to the query to get a sequential id column....
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 3:10 pm
There is also JSON download in that link:
But, not the ID column the OP is looking for.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 3:03 pm
Simple question.
Who is the Brent Ozar of cloud computing ie all you need to know about SQL management and options in the cloud the does and don't of DBA...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 2:54 pm
Step 1 would be to get into the habit of using the 2 part naming convention. That doesn't have so much to do with performance in this case (although there...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 2:51 pm
I agree with Phil. Posting inserts to populate the test table with data will help a whole lot.
Also, the code you posted isn't from SQL Server but, since you posted...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 12, 2023 at 2:24 pm
Viewing 15 posts - 1,126 through 1,140 (of 59,072 total)