您当前的位置: 首页 >  ui

衣舞晨风

暂无认证

  • 0浏览

    0关注

    1156博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

Execution error: \'the function name is not a recognized built-in function name\'

衣舞晨风 发布时间:2014-01-08 09:47:08 ,浏览量:0

SQL Server scalar user defined functions must be called with 2 part names. You need to write as username before function.  So if your function name is "function1" and is defined in the dbo schema, then instead of  "select function1()" you should call it as "select dbo.function1()"  Functions will run like below: select dbo.AVG(columns name) from (table_name) - Returns the average value select dbo.COUNT(columns name) from (table_name) - Returns the number of rows select dbo.FIRST(columns name) from (table_name) - Returns the first value select dbo.LAST(columns name) from (table_name) - Returns the last value select dbo.MAX(columns name) from (table_name) - Returns the largest value select dbo.MIN(columns name) from (table_name) - Returns the smallest value select dbo.SUM(columns name) from (table_name) - Returns the sum
关注
打赏
1647422595
查看更多评论
立即登录/注册

微信扫码登录

0.0414s