函数前加上所有者:如dbo
update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'

解决方案 »

  1.   

    update wldm set wldm=.fun_wlxg(wldm) where substring(wldm,1,1)='1'
      

  2.   

    update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'
      

  3.   

    update wldm set wldm=dbo.fun_wlxg(wldm) where substring(wldm,1,1)='1'
    ---------------------^^^函数所有者。
      

  4.   

    如果自定义函数在你用的数据库中,则
    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'
      

  5.   

    函数要加所有者,一般情况下你在函数名前加个dbo.试试