update wldm set wldm=.fun_wlxg(wldm) where substring(wldm,1,1)='1'
update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'
update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1' ---------------------^^^函数所有者。
如果自定义函数在你用的数据库中,则 update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1' 如果不在你用的数据库中,则必加上你自定义函数所在的库名 update wldm set wldm=自定义函数所属库名.dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'
---------------------^^^函数所有者。
update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'
如果不在你用的数据库中,则必加上你自定义函数所在的库名
update wldm set wldm=自定义函数所属库名.dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'