SyntaxFix
Write A Post
Hire A Developer
Questions
Or you can simply use PRINT command instead of SELECT command. Try this,
PRINT
SELECT
PRINT dbo.fn_HomePageSlider(9, 3025)