An insufficient number of arguments were supplied for the procedure or function ft_ParseCommaString.

from the MSSQL manual


When a parameter of the function has a default value, the keyword “default” must be specified
when calling the function in order to get the default value.


This behavior is different from parameters with default values in stored procedures
in which omitting the parameter also implies the default value.

Source: http://forums.devshed.com/ms-sql-development-95/optional-parameters-on-create-function-149019.html

发表评论

电子邮件地址不会被公开。

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>