Viewing 15 posts - 136 through 150 (of 2,646 total)
That article is for SQL 2008. The servers are 2017 and I'm pretty sure SMO code doesn't work anymore in 2017.
EDIT: Even looking at the PowerShell options, it doesn't...
August 6, 2024 at 2:33 pm
easy with SMO
you just need to create a list of servers to extract from and do a foreach loop on that list to call the job function.
August 6, 2024 at 12:47 pm
use it all the time - and our DBA team has a central server with CMS setup so it is available to all DBA's (and some snr developers/architects) as well.
in...
August 1, 2024 at 4:49 pm
for that you will need to have a audit log table and a trigger on the table you need to monitor- no other way to do it (other then perhaps...
July 30, 2024 at 12:23 pm
have a look at this https://www.sqlservercentral.com/forums/topic/sqlagentreaderrole-can-create-its-own-jobs-what-is-ms-thinking
SQLAgentReaderRole would be the role to use to allow them to view jobs - but as this gives also permissions to CREATE jobs a few...
July 26, 2024 at 8:44 pm
not those settings (which should be changed in most occasions - just don't set it to automatic on newer version of SSIS)
July 26, 2024 at 8:38 pm
setting can be applied on the execution of the script itself - changing global policy is bad - but changing to execute a internal script with the setting on is...
July 18, 2024 at 9:28 pm
please do not create duplicate posts - you have already posted this (see https://www.sqlservercentral.com/forums/topic/updated-table-not-displaying-data) and you have gotten several replies - fact that they are not what you want (e.g....
July 16, 2024 at 12:44 pm
get them properly formatted.
what you gave us is on a single straight line - so its unusable.
but I do have to say that if this is not giving you what...
July 15, 2024 at 7:08 pm
likely you doing it incorrectly.
following works fine with SSMS 19.0.
2
where contents of the script is just a straight "gci c:\"
July 12, 2024 at 10:32 am
for true prod code I tend to avoid merge - performance vs insert/update can vary - either faster or slower and no quick rule to decide on it - its...
July 11, 2024 at 10:12 pm
As the table is partitioned by a date - are records on "older" partitions ever updated/inserted/deleted? if not any index operation should be done on recent partitions only, which would...
July 11, 2024 at 7:09 am
look at this thread as it gives a good explanation - better to turn that setting off - https://stackoverflow.com/questions/59505490/ssis-2019-autoadjustbuffersize-causes-buffer-allocation-error
July 10, 2024 at 11:18 pm
you did NOT give us the SQL code you are running - so nothing for us to advise on - just giving a table content and stating you get no...
July 10, 2024 at 2:26 pm
That script snippet seems to update the wrong job. The obfuscated name is larger than "DWLoad" for the job name in the job properties screenshot. Are you sure you...
July 10, 2024 at 1:39 pm
Viewing 15 posts - 136 through 150 (of 2,646 total)