数据库——replace() 替换

替换:

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

在开发中经常需要编写存储过程,需要用到替换字符串来插入新表

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

数据库——replace() 替换


分享到:


相關文章: