且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在sql server中执行用户定义的函数。

更新时间:2023-02-07 09:18:44

包含模式名称



在你的情况下,它应该如下调用。 ..

include schema-name

in your case, it should be called as below...
select dbo.userdefFunction(1,9,9)



快乐编码!

:)


Happy Coding!
:)


http://msdn.microsoft.com/en-us/library/ms175562.aspx [ ^ ]

http://blog.sqlauthority.com/2007/09/08/sql-server-udf-user -defined-function-get-number-of-months-in / [ ^ ]