locked
Conditional Split Expression RRS feed

  • Question

  • Hi all

    Select

     

    LOBID, Region from TableA

    where LOBID IN ('7', '1') AND

    Region

    = 'Leased MArkets'

    how to write the above expression in the Conditional split Task.

    Thank you

    suman

    Thursday, June 3, 2010 12:59 PM

Answers

  • I believe that you can use something like the following:

     

    ([lobid] == "7" || [lobid] == "1") && [region] == "Leased Markets"


    Please mark answered posts. Thanks for your time.
    Thursday, June 3, 2010 1:27 PM
  • Others that look at your threads later would appreciate it if you:

    a) Mark the post that answered your question (or took you most of the way there).

    b) Stated the actual solution (if none of the posts stated it exactly).

    For example, you should say you used this expression:

    (LOBID == "14" || LOBID == "15")  &&  (FINDSTRING( [Line Of Business] ,"[2",1 ) >= 1)


    Todd McDermid's Blog Talk to me now on
    • Marked as answer by MSGupta Friday, June 4, 2010 5:06 PM
    Friday, June 4, 2010 4:41 PM

All replies

  • I believe that you can use something like the following:

     

    ([lobid] == "7" || [lobid] == "1") && [region] == "Leased Markets"


    Please mark answered posts. Thanks for your time.
    Thursday, June 3, 2010 1:27 PM
  • I am trying to put the below condition in my conditional split, it throws me an error.. Could you plz rectify the error and help me with the right query

    (LOBID == "14" || LOBID == "15")  &&  FINDSTRING( [Line Of Business] ,"[2",1 )

    Friday, June 4, 2010 4:13 PM
  • I got the solution
    Friday, June 4, 2010 4:17 PM
  • Others that look at your threads later would appreciate it if you:

    a) Mark the post that answered your question (or took you most of the way there).

    b) Stated the actual solution (if none of the posts stated it exactly).

    For example, you should say you used this expression:

    (LOBID == "14" || LOBID == "15")  &&  (FINDSTRING( [Line Of Business] ,"[2",1 ) >= 1)


    Todd McDermid's Blog Talk to me now on
    • Marked as answer by MSGupta Friday, June 4, 2010 5:06 PM
    Friday, June 4, 2010 4:41 PM