金蝶k3密码批量修改

该字段含有单引号,直接使用查询语句,需要转义其中的单引号。
select
* from t_User where FSID = ') F ", ,P T #8 *P!D &D 80!N &@ <0 C ''< : !M &4 )0 '
可以使用下面的语句进行批量修改密码,不用理会需要转义字符内容
先改个 landv的密码为 1234 update 用户表 set 密码字段=(select 密码字段 from 用户表 where 用户名='landv') update t_User set FSID =(select FSID from t_User where fname='landv')

猜你喜欢

转载自www.cnblogs.com/landv/p/9157309.html