Possible Duplicate:
Conversion failed when converting the nvarchar value ‘Internet Explorer 3 original’ to data type int
So I created this following simple stored procedure:
CREATE PROCEDURE test
AS
BEGIN
RETURN 'works!'
END
GO
I then wanted to execute it by firing the following statement:
EXEC test
Why am I getting the following error all the time?
Conversion failed when converting the varchar value 'works!' to data type int.
Oh and btw, (when) is it necessary to have the GO-statement in the end of a stored procedure? I guess it takes no effect here since it will jump out of the procedure when I am returing my @out String.