Hello,
I have a function where I am passing 4 parameters
FUNCTION [dbo].[Employee]
(@ID varchar(120),
@SCR nvarchar(3000),
@Hw1 varchar(10),
@HW2 varchar(10) = '%'
)
I am calling this function in another stored procedure when I called this
select * from [dbo].[Employee](@ID,@SCR,'*')
I am getting this error An insufficient number of arguments were supplied for the procedure or function Even after compiling the function.