Sample Header Ad - 728x90

Replace specific string with blank even if partial match with another column value

0 votes
1 answer
393 views
I have a scenario to replace entire string from a set of comma delimited strings, if partial word matches with another column. I found very complex to explain in words and hence I have explained through a screenshot having various examples. Please help me with stored procedure or a function or query to get results as in **Required_result** column as in below screen shot. screenshot I tried STRING_SPLIT function to split values and join the tables. I am struck with the logic to solve this problem.
Asked by Shiva (807 rep)
Apr 26, 2023, 06:31 PM
Last activity: Apr 28, 2023, 09:08 AM