SQL search column where one item in column is substring of another item Update

后端 未结 1 903
无人及你
无人及你 2021-01-27 12:22

This question is a result of my original question, which I think was not quite what I was looking for: SQL search column where one item in column is substring of another item

相关标签:
1条回答
  • 2021-01-27 13:11

    You should be able to search for your term along with the line break characters to find what you are looking for.

    select * 
    from tbltest 
    where platform like '%' + item + CHAR(13) + CHAR(10) + '%'
    or platform like '%' + item
    
    0 讨论(0)
提交回复
热议问题