sp_helptext N'ufnTestFunc'を実行します
関数の上の「コメント」セクションに奇妙なように見えるものはありますか ?
埋め込まれたコメント/* */ 時々そのエラーを引き起こす可能性があります。
例:
/*
This function does something.
/* NOTE: not any useful, though */
More stuff...
*/
alter function ufnTestFunc ()
returns int
begin
return 1
end