數據庫——replace() 替換

替換:

語法:select replace(字段,'被替代字符串','替代的字符串'),* from SC_TEST

在開發中經常需要編寫存儲過程,需要用到替換字符串來插入新表

例子 : select replace(Sno,'-','***'),* from SC_TEST

數據庫——replace() 替換


分享到:


相關文章: