sql替换字符串 substring replace

    技术2022-05-19  20

    --例子1:update tbPersonalInfo set TrueName = replace(TrueName,substring(TrueName,2,4),'**'where ID = 1--例子2:update tbPersonalInfo set Mobile = replace(Mobile,substring(Mobile,4,11),'********'where ID = 1--例子3:update tbPersonalInfo set Email = replace(Email,'chinamobile','******'where ID = 1 


    最新回复(0)