how to call scalar function in sql server 2008

后端 未结 4 569
迷失自我
迷失自我 2020-12-30 18:26

I have created a Scalar Functions, it was created successfully, but when I call the function using select statement, it says Invalid object name \'dbo.fun_functional_score\

4条回答
  •  执念已碎
    2020-12-30 19:03

    For some reason I was not able to use my scalar function until I referenced it using brackets, like so:

    select [dbo].[fun_functional_score]('01091400003')
    

提交回复
热议问题