SQL Find & Replace part of a string

后端 未结 2 2023
失恋的感觉
失恋的感觉 2021-01-22 02:51

I\'m trying to find certain text \"catid=18\" in a string, where each string is different except for this. I\'ve used this query below before, except it only seems to work if yo

2条回答
  •  忘掉有多难
    2021-01-22 03:31

    Maybe you need:

    update TABLE_NAME
    set FIELD_NAME = 'goodvalue'
    WHERE FIELD_NAME = 'badvalue'; 
    

提交回复
热议问题