將某字元換成另一個字元

類似Excel裡面的"搜尋並取代"

 

update [tablename] set [columnname]= replace([columnname],'臺','台') where [columnname] like '%臺%' 

創作者介紹
創作者 廣度與深度 的頭像
sendohlun

廣度與深度

sendohlun 發表在 痞客邦 留言(0) 人氣( 60 )