Viewing 15 posts - 361 through 375 (of 7,466 total)
The bigger problem I just found out is that this column is part of the key structure on some of our financial tables. So splitting it out makes it...
July 13, 2023 at 5:52 am
There are many articles covering "Composite columns" (/ "composite keys") vs individual columns (/ surrogate key ) pro's and cons.
You are now at a junction point handling one of the...
July 12, 2023 at 6:28 am
Did you notice you end up with a negative DurationInSeconds ?
-- ...
July 6, 2023 at 6:13 am
Please post the "Server Audit" and the "Server Audit Specification" scripts.
There must be some filtering active for it not to report all.
July 5, 2023 at 5:40 am
Did you enable as well the "Server Audit" as well as the "Server Audit Specification" ?
Check filters !!
July 4, 2023 at 1:51 pm
I just export the plan and its consumption statistics from the plan cache.
1 file with all consumption details, 1 .sqlplan file per plan
June 26, 2023 at 6:34 pm
It is an option, but you may end up being deadlocked most of the time, depending the amount of blocking and lock escallation
June 26, 2023 at 8:36 am
Scalar functions are still a big NoNO ! ( Inlining doesn't work on all SVFs !! )
Write your SVFs as InlineTableValueFunctions and things will perform again
June 24, 2023 at 4:34 pm
Have you checked SQL Server audit data?
/*
Generate Server Audit event session to trace action in a database
DBA_ServerAudit
*/
Declare @CreateSession bit = 0;
Declare @DropSession bit = 0 ;
Declare @StartSession...
June 22, 2023 at 7:22 am
My guideline for FK indexes is: put indexes in place that match the FK definition 100%, unless it is proven for that case it hurts regular operations.
And even then,...
June 21, 2023 at 2:26 pm
And here's the bite in the back by cascading deletes !
The reason why we only use foreign keys "NO ACTION" is because we want to take full control over...
June 21, 2023 at 11:16 am
My advise: read Brent's blog about SQL2022 to get a good idea what the product is (still) missing/having flaws of ...
SQL Server 2022 Keeps Getting Worse.
June 18, 2023 at 12:36 pm
Check my little article "Logon monitoring in SQL Server and Azure Managed Instances - Adopting Extended Events"
Maybe it can get you started
June 16, 2023 at 8:55 pm
First of all, don't use this construct of you can directly perform the delete from the "in-list-query"
DELETE RAL
FROM c_repos_applied_lock RAL
INNER JOIN c_repos_table RT
...
June 15, 2023 at 7:36 am
Viewing 15 posts - 361 through 375 (of 7,466 total)