Search and replace part of string in database

前端 未结 6 1974
余生分开走
余生分开走 2020-12-04 21:11

I need to replace all iframe tags, stored as nvarchar in my database. I can find the entries using the following sql-question:

SELECT * FROM databasename..Ve         


        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 22:02

    I think 2 update calls should do

    update VersionedFields
    set Value = replace(value,' ','')
    

提交回复
热议问题