The request for procedure 'UserGetRoleFunc' failed because 'UserGetRoleFunc' is a table valued function object. code example
Example: execute table valued function in sql
SELECT
*
FROM
udfProductInYear(2017);
SELECT
*
FROM
udfProductInYear(2017);