end with statement stored procedure sql server return code example Example: sql return statement RETURN [ integer_expression ]