If we are talking MS-SQL not sure what about other databases.<BR><BR>The ReturnValue is an integer returned by the executed stored proc. 0 means success. To use it just type RETURN <integer> in your proc. This stops execution at that line so just know nothing after it will be run. Common uses are custom error codes.<BR><BR>OutputValue is well what ever you set up to be an OUTPUT parameter in your proc.