Viewing 15 posts - 136 through 150 (of 1,229 total)
The regular expression here '%[^0]%' starts by looking for the first non zero in the string (col+'.')
120. --> 120
0150. --> 150
The ^ is a negation operator (meaning NOT) when inside...
September 1, 2022 at 6:03 am
Thank you Scott. I now know the naming of this type of scheme. I've seen it where the pk object has different properties based on the value in another column...
September 1, 2022 at 5:50 am
I might as well add, if this is supposed to be routing you could create a JOB that runs powershell to do the move. With powershell you can actually go...
August 24, 2022 at 1:47 am
Something like the following ?
declare @cmdStr as varchar(100);
declare @today AS CHAR(8)
set @today = '20220805'; /* Or however you want to set this */
set @cmdStr = 'copy...
August 24, 2022 at 1:41 am
In your server you can enable xp_cmdShell
exec sp_configure 'xp_cmdShell'
To view the current setting for this option. You can run CMD commands within your script with this (be...
August 23, 2022 at 7:35 am
We do fail overs when patching. The only gotcha is to make sure there are no "Jobs" running at the time that could be interrupted.
If there are tons of servers...
August 23, 2022 at 6:58 am
A very nice and handy article. I learned about assemblies built with C# long ago but never got around to using them. This is an example of a good time...
August 23, 2022 at 6:47 am
I realise this is an older post, but I was wondering if anyone has experienced any downsides with automatic tuning being on. It seems it is all positive from the...
July 7, 2022 at 6:08 am
Once transactions are moved over to the replica log get cleared. Problems arise if there is ever a connection issue.
June 7, 2022 at 8:22 pm
Just to add my bit:
In the Query Store you my want to look at regressed quries. In fact look at your Query Store overall from many views,... I/O, cpu, running...
June 7, 2022 at 6:46 pm
Set the size manually after restorng and see if it does not get shrunk after wards.
June 7, 2022 at 4:41 pm
Are you connecting to the correct database and not a test server ?
June 7, 2022 at 4:21 pm
You can try to check the Query Store for "regressed queries". These are ones that have chosen less optimal plans. There could be a few procedures this is afflicting but...
June 7, 2022 at 4:12 pm
Sounds like your transaction log being full is putting a stop to replication. There is no need to "shrink" the log file if it is just going to grow again....
June 7, 2022 at 12:24 am
Viewing 15 posts - 136 through 150 (of 1,229 total)