Forum Replies Created

Viewing 15 posts - 1,081 through 1,095 (of 3,232 total)

  • RE: SSIS I/O

    Rowan (8/21/2009)


    John Rowan (8/20/2009)


    Rowan,

    A couple of things. First, I like you name! Secondly, all of the advice given here is spot on. One thing I'd like...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Glad to help.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Yes. If the expression evaluates to True, the e-mail task will run. The expression will evaluate to True any time there are more than 0 errors.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    If you need an e-mail regardless of how many errors that are, you need to change the expression to be:

    @[User::ErrorCount] > 0

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Your original post on this thread stated:

    when ever there is an error upto 50 on a flat file it should send me an email

    That tells me that you want...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure logic for bad set of data's

    Thread continued here:

    http://www.sqlservercentral.com/Forums/Topic774464-148-1.aspx

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Here's a recap on what we just did:

    1. We tested the expression @[User::ErrorCount] > 0 && @[User::ErrorCount] <= @[User::MaxCount]

    2. You said it was not working and you didn't get...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    No, you set a breakpoint on that task. That prevents it from running until you tell SSIS to continue. If you exit debugging mode, the task will never...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    The expression is working. Your error count is 495. That is more than 50 so you should not get an e-mail.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Given the variable values, wouldn't you expect there to be no e-mail?

    when ever there is an error upto 50 on a flat file it should send me an email,

    I thought...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Its disabled because the package thinks it is finished. It will never make it to the breakpoint if the expression does not evaluate to true.

    Remove the expression...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: ranking without a cursor

    First of all, you don't need a cursor for this. Secondly, what determines the order? Is it the Adv_ID value or the IDENTITY column?

    This should get you started:

    DECLARE...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    So you ran it with && and verified that your error count variable was between 0 and 50? Did you use the debugging mode to verify the variable values?

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    My bad. || is OR. You need && for AND. Replace the pipes w/ && and you should be good.

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • RE: configure send email task

    Your current expression will not do that. In that case, you'd want your expression to evaluate to True when error count > zero and error count 0 ||...

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

Viewing 15 posts - 1,081 through 1,095 (of 3,232 total)