Viewing 15 posts - 841 through 855 (of 6,400 total)
Adding files to tempdb for that wait won’t elevate it.
Pagelatch_up is waiting for memory not disk.
also adding files to tempdb only solves contention on the GAM, SGAM, PFS pages in...
June 9, 2021 at 5:44 am
Your looking at writing LDAP queries for that which in this day and age is something I wouldn’t do.
I would advocate for you to use powershell and the get-ad* cmdlets...
June 3, 2021 at 7:55 am
Well your having to scan the whole table, so reading 345million rows is not going to be a trivial task, never mind what the data types are and what the...
June 2, 2021 at 10:26 am
Use something like a NOT EXISTS clause to filter out anything that has had a subsequent success
Pseudo code
SELECT
job_name
FROM
msdb.dbo.sysjobhistory
WHERE
date >= convert(date,getdate())
AND
date < convert(date,getdate()+1)
AND
status = 'failed'
AND NOT EXISTS
(SELECT
job_name
FROM
msdb.dbo.sysjobhistory
WHERE
date >=...
June 2, 2021 at 10:21 am
Nested groups also, as a group can contain a group
So using your data as an example (this may or may not be right you need to go check AD with...
May 25, 2021 at 6:47 am
What are you using to security scan?
nessus is giving us these false positives as it thinks the definition is that the build number that Nessus wants isn’t the latest build...
May 23, 2021 at 6:12 am
create table #longdelim (ID VARCHAR(50), DelimString VARCHAR(MAX))
insert into #longdelim values ('123','a;b;c;d;e;f;g;h;i;j;k;l;m;n;o;p;q;r;s;t;u;v;w;x;y;z')
select tab.id, spl.item from #longdelim tab
cross apply dbo.delimitedsplit8k(DelimString,';') spl
May 20, 2021 at 2:51 pm
Thats where you need a tally table and to split an alternative method.
Take a look at delimitedsplit8k (https://www.sqlservercentral.com/articles/tally-oh-an-improved-sql-8k-%e2%80%9ccsv-splitter%e2%80%9d-function) and work that into the solution, it's a much more efficient delimited...
May 20, 2021 at 2:46 pm
It will all depend what GPO's are tied to the new OU. If they are exactly 1 and the same from the current OU then no impact. If they are...
May 20, 2021 at 2:42 pm
What is the maximum error count set to on the package?
If its set to 100 but only 99 errors are raised, its below the threshold so will report as a...
May 20, 2021 at 8:04 am
Use xp_logininfo and pass in the group name and the members option and it will list the members of the group.
Or if you have the ad powershell modules you can...
May 19, 2021 at 9:35 pm
Yes possible, a simple google search came up with this from Microsoft
May 18, 2021 at 6:45 am
You will need to set your default schema to be dbo on the user mapping screen, your DBA should be able to do this for you.
May 12, 2021 at 11:58 am
I would check out things like DBAChecks powershell module which has something like 136 different inbuilt checks to see things like max memory set, tempdb setup correctly, backups taken, duplicate/disabled...
May 11, 2021 at 11:36 am
Well it all depends what you want to do.
If you want to do it grant at the whole database level like you have already granted db_datareader etc, then you create...
May 11, 2021 at 10:58 am
Viewing 15 posts - 841 through 855 (of 6,400 total)