Viewing 15 posts - 361 through 375 (of 7,472 total)
Did you checked my article "Logon monitoring in SQL Server and Azure Managed Instances - Adopting Extended Events"
July 27, 2023 at 8:59 am
How about ...
$VerbosePreference = [system.Management.Automation.ActionPreference]::Continue
$VerbosePreference = [system.Management.Automation.ActionPreference]::SilentlyContinue
Trap {
# Handle the error
$err = $_.Exception
#Want to...
July 26, 2023 at 12:51 pm
The question is not "If they'll target you",
the question is "When will they target you"
#KeepDoorShut
#KeepSecurityTight
July 25, 2023 at 10:59 am
...
,MyChecksum as (checksum([host_name],[program_name] COLLATE Latin1_General_CS_AS,[DbName] ,[nt_user_name],[login_name],[original_login_name],[is_dac])) persisted
, MyHashBytes HASHBYTES('SHA2_256',concat([host_name],[program_name] COLLATE Latin1_General_CS_AS,[DbName] ,[nt_user_name],[login_name],[original_login_name],[is_dac])) persisted
Make that column persisted...
July 24, 2023 at 11:25 am
Isn't that supposed to never ever happen ?
#Sarcasm
July 24, 2023 at 5:33 am
create index IX_Service_Start_Date ON ivc_cds.CDS_Claim_Header (Service_Start_Date )
WITH (FILLFACTOR = 98, SORT_IN_TEMPDB = ON ) ON [DefFG]
-- remove on ServiceStartDatePartitionScheme ( Service_Start_Date )
also have...
July 20, 2023 at 12:37 pm
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
Viewing 15 posts - 361 through 375 (of 7,472 total)