Viewing 15 posts - 1,006 through 1,020 (of 22,189 total)
ISNULL will affect performance if the ISNULL is being used in WHERE, ON or HAVING. As part of the SELECT or VALUES listing of columns, ISNULL won't be a big...
January 12, 2022 at 2:47 pm
Thanks for the responses everyone.
Rod, I feel for you man. It's hard to find good places where you can learn & grow. I went through four jobs in less than...
January 10, 2022 at 12:35 pm
I point to three tools for monitoring query performance (not Jobs, Johan's answer is a good one), including batches, statements and procedures. These are, in no particular order, Dynamic Management...
January 7, 2022 at 2:07 pm
So just to clarify. if i have a clustered index on say contactid and invoiceid however none of the updates are on those columns then there wouldn't be a...
January 5, 2022 at 9:30 pm
I like @DesNorton's answer.
However, what about just using the SEQUENCE object? It'll do the increments for you. It doesn't have to be specifically an IDENTITY column that way.
January 5, 2022 at 3:13 pm
Got an email from Degreed.com giving me recommendations for virtual training and … well, apparently there are urgent SQL courses I need to take today and ...
Well, what do...
December 29, 2021 at 5:10 pm
So, I work for Redgate, so any & all biases up front.
Nope.
Not for what you want. I've evaluated some of the SaaS monitoring tools that will monitor SQL Server. Frankly,...
December 22, 2021 at 12:45 pm
When I run the same query multiple times why does the CPU time fluctuate between 0 and 16ms in tracer, query cost and live data explorer? Also I have...
December 22, 2021 at 12:30 pm
You can use Extended Events to capture errors. This can include, if needed, the T-SQL statement or Object_ID of the query involved.
December 21, 2021 at 2:44 pm
I saw you posted this over on DBA.StackExchange. I like the one answer. There were also good comments. From the bytes received, it looks like each query returns different data?...
December 21, 2021 at 2:32 pm
Emphasis has to be on the fact that while this is called Profiler, it's just a front-end for Extended Events.
Nice write up.
December 21, 2021 at 1:22 am
Yeah, not a clue. Most of the time, I get very good behavior out of Azure. Obviously not the same as something running locally, but very much the same as...
December 17, 2021 at 4:38 pm
How's everybody? Wishing a good 2022
Thank you! I hope the same for you and yours.
December 17, 2021 at 4:37 pm
Performance is likely to improve. However, one thing, instead of putting all the code into a single query inside a procedure, create a wrapper procedure for all the IF ......
December 17, 2021 at 12:35 pm
That's an odd construct. NULLIF compares two values. If they're matching, it returns null. Otherwise, it returns the first value, in this case, @parameter. ISNULL checks the first...
December 16, 2021 at 1:37 pm
Viewing 15 posts - 1,006 through 1,020 (of 22,189 total)