Viewing 15 posts - 181 through 195 (of 329 total)
I have update my query.
=iif((Fields!DBName.Value <> "tempdb") OR Fields!State_desc.Value = "ONLINE"
AND IsNothing(Fields!Physical_device_name.Value) AND DateAdd("d", 1, Fields!Last_db_backup_date) < Now(),"Orange", "LightGreen")
Can you please check if the reasoning and query...
May 4, 2018 at 1:00 am
Noted.
I was able to export the AD's this way
Get-ADUser -Filter *|select GivenName,Name,Enabled,SID | out-file output.txt
How do I remove the headers and make this file into...
April 9, 2018 at 6:14 am
This piece of code works perfectly well when I run in powershell-sends an email along with the attachment.But when I schedule it in a task scheduler it does send an...
January 2, 2018 at 11:50 pm
June 28, 2017 at 10:58 pm
June 15, 2017 at 11:36 am
I need server size difference for any 2 dates which are 30 days apart.
The query posted is giving me an empty set.
May 18, 2017 at 12:07 am
The code works.The issues was with the task scheduler.
How do I cc in the above code.Right now I can only send the mail to 1 recipient.I would like ...
April 8, 2017 at 10:40 am
March 16, 2017 at 4:08 am
How I do find all the jobs which have failed today and the failed job when they ran the last time they were scheduled.
Ex 1:All jobs if scheduled today...
November 10, 2016 at 11:03 pm
This is what I am trying to do.
select sj.name,sj.enabled,sjh.step_id,sjh.message from
sysjobhistory sjh inner join sysjobs sj
on sj.job_id=sjh.job_id
and sj.enabled='1'
In this query result.For every sj.name there will 1 or more sjh.step_id 's and...
November 6, 2016 at 11:41 pm
Have you tried writing a different SQLAgent task to ensure that you have the task launch under these conditions? <--- What do you mean by this ?
Yes to both powershell...
June 24, 2016 at 12:28 am
Viewing 15 posts - 181 through 195 (of 329 total)