Hi
I have below code &it is giving above error. Functions exists
,(select count(*) from [dbo].[Fun_GetBookReturnStatus](B.[ID],GP.[StudentID]))
Thanks
Hi
I have below code &it is giving above error. Functions exists
,(select count(*) from [dbo].[Fun_GetBookReturnStatus](B.[ID],GP.[StudentID]))
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted May 1, 2023, 5:50 AM
Try to store the fubction value in a variable and then use it.
Use it like ,ISNULL(@bookReturnCount,'') [BookReturnStatus].
Ramco RamcoPosted May 1, 2023, 5:40 AM
Hi AMit
Below line is also in the procedure & it is working
,ISNULL([dbo].[Fun_GetBookReturnStatus](B.[ID],GP.[StudentID]),'') [BookReturnStatus].
I want to get count of records returned by Function
Thanks
Amit MohantyPosted May 1, 2023, 5:34 AM
One possible reason for the error could be that the user-defined function
Fun_GetBookReturnStatusdoes not exist in the current database or the input parameters provided to the function are invalid or not of the expected data type.