webMethods

 View Only

"or" condition is not working in this Sql query while using string split

  • 1.  "or" condition is not working in this Sql query while using string split

    Posted Tue November 29, 2022 06:42 AM

    Actually i want to take any one condition in this while passing serviceID in SP. but this query giving me combining of this 2 stringSplit conditions
    select * from end_points where service_id in (select value from string_split(‘,999’,‘,’)) or
    service_id in (select value from string_split(‘125,101,102,106,107,119’,‘,’))


    #SQL
    #webMethods