If this error occurs in the Create Function that uses a table then the variable after return statement should be removed
The syntax should be like
Create Function
ReturnsTable
(
Table Definition here
..
..
)
as
BEGIN
..
..
RETURN -- note no value is returned here
END
The syntax should be like
Create Function
Returns
(
Table Definition here
..
..
)
as
BEGIN
..
..
RETURN -- note no value is returned here
END
0 comments:
Post a Comment