Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)

  • RE: SQL Jobs monitoring tool

    I cannot figure out which table to get information for the next scheduled Job.

    Would it be dbo.sysschedules -active_start_date,active_start_time

    OR

    dbo.sysjobschedules- next_run_date,next_run_time?

  • RE: SQL Jobs monitoring tool

    Is there a way to figure out which tables are affected by which jobs?

  • RE: SQL Jobs monitoring tool

    That sounds great! Could you please post it?

    Thanks

  • RE: SQL Jobs monitoring tool

    Ahmed,

    I am not a DBA and haven't actually used any of those tools. But I came across some great queries which will provide SQL Agent Jobs and schedules related information.

  • RE: Report Totals

    Cool trick!

    It worked!

    Thanks

  • RE: Change Group based on Parameters passed to report

    Yes, I have 2 sub-reports. One take two parameters, one from the resultset of main report and the other is one of the main report parameter. This subreport is now...

  • RE: Change Group based on Parameters passed to report

    Actually, on subreport works fine now, but not the second one.

    When I try to execute the second one,

    [rsErrorExecutingSubreport] An error occurred while executing the subreport ‘srCalcTotals’(THIS IS ACTUALLY THE FIRST...

  • RE: Change Group based on Parameters passed to report

    My report has a set of parameters which execute a stored proc.

    When I designed the subreport, I pass it a parameter to test.

    When I run the main report, the resultset...

  • RE: Change Group based on Parameters passed to report

    Ok, if I'm understanding you correctly. I right click and go to subreport properties, 'visibility' tab, select option 'Expression'

    and put the expression-

    =IIf(Parameters!SortSeq.Value = 1, False,True)

    This worked, but displayed just first...

  • RE: Change Group based on Parameters passed to report

    I have put the two subreports srCalcProg1Totals,srCalcProg2Totals in the group footers.

    Now where do I say which subreport to execute/show and how?

    For example. (I know this syntax is not right)

    =Switch(Parameters!SortSeq.Value=1,srCalcProg1Totals,

    Parameters!SortSeq.Value=2,srCalcProg2Totals)

  • RE: Help in writing sql

    Thank you very much!

  • RE: Help in writing sql

    I'm sorry I meant to delete those before posting.

    So here it is-

    CREATE table From_Upd(

    Col_01 Char(1) Not Null,

    Col_02 Varchar(20) null )

    INSERT INTO From_Upd (Col_01,Col_02) Values ('1','''01'',''02'',''03'',''04''')

    INSERT INTO From_Upd (Col_01,Col_02) Values...

  • RE: Multi-Value parameter

    It did take double qoutes:

    =JOIN(Parameters!ParameterName.Value,";")

    Thanks for all your help!

  • RE: Multi-Value parameter

    The error I get by doing so is-

    The value expression for the textbox 'textbox#' contains an error: [BC30201] Expression expected.

  • RE: Multi-Value parameter

    It did work without delimiter though-

    =JOIN(Parameters!ParameterName.Value)

    Have you have defined ';' somewhere?

    thanks

Viewing 15 posts - 1 through 15 (of 22 total)