Viewing 15 posts - 5,461 through 5,475 (of 59,072 total)
Crud... I went to hit QUOTE and, instead, hit REPORT by mistake. My apologies, Joe. I'll contact the webmaster and let them know.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 26, 2021 at 1:27 am
Your code fairs no better, Joe. Try running it and see the error.
Also, the columns in your CREATE TABLE statement don't match the columns in your SELECT statement.
And, your code...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 26, 2021 at 1:24 am
If you avoid "batching", it can be done with "minimal logging", which also nearly doubles the performance.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2021 at 8:47 pm
The title of this thread threw me... I thought we were trying to count the NULLs in a given column... which is different than the original script, as well.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2021 at 8:28 pm
Heh... you didn't try the code you posted. It's missing commas and the VALUES are not correct.
Be advised that the data you posted has nothing other than partid and serial...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2021 at 6:02 pm
I believe you'll find that and INSERT/SELECT from an OPENQUERY across a linked server will work with some pretty good performance.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2021 at 5:33 pm
Wouldn't it be easier just to take the difference between the count of a column that will never be NULL (like the PK column) and the column in question?
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2021 at 5:17 pm
The typical reason why there are typically no standards, particularly when it concerns databases and the related code, is because of the "code first" mentality that I've seen at oh...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 25, 2021 at 5:00 pm
how to checkf if SQL Server CPU/RAM has bottleneck? thanks!
There are a ton of decent articles out there on this subject. You really need to do a little "googlin'". ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2021 at 11:00 pm
Try changing the SQL Server Agent startup type to "automatic (delayed start)" to make it start after SQL Server.
This is what fixed us a long time ago. I just...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 24, 2021 at 10:50 pm
Yeah... there's always something when it comes to stats. Like you said, ascending date columns can be quite the rub, as well. We have a whole lot of tables that...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2021 at 7:19 pm
My original thought in response to this article is "It Depends on the 'tool' in the chair!" 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2021 at 4:13 pm
As an infrastructure guy and former consultant, one universal truth that I've observed over the years is the tendency for useful tools that are controlled locally to be replaced...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2021 at 4:12 pm
Don't give the privs to the user. Instead, write a stored procedure that uses EXECUTE AS OWNER and give the user privs to execute that stored procedure.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2021 at 4:09 pm
In all seriousness, we've always worked in a "distributed fashion". And, yeah, databases are necessarily a bit different simply because of their size and the fact that they contain sensitive...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 22, 2021 at 3:27 pm
Viewing 15 posts - 5,461 through 5,475 (of 59,072 total)