Forum Replies Created

Viewing 15 posts - 181 through 195 (of 329 total)

  • RE: Color Coding

    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...

  • RE: Color code

    Joe Torre - Wednesday, April 18, 2018 12:17 PM

    Please have a look here.
    You my need to nest you IIF

    Iif(Fields!DBName.Value...

  • RE: Export AD into text

    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...

  • RE: email with attachment powershell

    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...

  • RE: SSRSRowCounting

    pietlinden - Thursday, June 22, 2017 8:55 AM

    Can't speak for anyone else, but without data and maybe a screenshot of your report,...

  • RE: backups

    Eirikur Eiriksson - Thursday, June 15, 2017 2:00 AM

    If the database's backup is missing then you would need to RIGHT OUTER JOIN...

  • RE: ServerSizes

    I need server size difference for any 2 dates which are 30 days apart.
    The query posted is giving me an empty set.

  • RE: DiskSpace

    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 ...

  • RE: SQL code for the below 3

    Mr. Kapsicum - Friday, March 24, 2017 4:10 AM

    sqlnewbie17 - Friday, March 24, 2017 3:33 AM

    March 24, 2017 at 11:13 am

    #1934838

  • RE: SQL code for the below

    I need this to work across all SQLVersions

  • RE: SQL code for the below

    Thom A - Thursday, March 16, 2017 3:46 AM

    Without consumable Sample data or DDL, here's something to get off your feet:
    [code...

  • RE: SQL Query

    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...

  • RE: SQL Query

    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...

  • RE: Autoalert if SQLAgent stops

    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...

  • RE: SQL in SSIS

    Can anyone please help fix this ?

    Thanks

Viewing 15 posts - 181 through 195 (of 329 total)