how to call scalar function in sql server 2008

后端 未结 4 566
迷失自我
迷失自我 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:07

    You have a scalar valued function as opposed to a table valued function. The from clause is used for tables. Just query the value directly in the column list.

    select dbo.fun_functional_score('01091400003')
    

提交回复
热议问题