Hi,
This was the stored procedure I used for getting return value from SQL stored procedure. As i know, it will return integer value. I get this error: Syntax error converting the varchar value 'ret' to a column of data type int. How am I suppose to do in order to get the string value? Thanks for the advance.
CREATE PROCEDURE test
@log_id as int
AS
declare @solution as varchar(200)
set @solution=(select solution from tbl_mis_log where log_id=@log_id)
return @solution
GO