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

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’,‘,’))

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.