About 5,370 results
Open links in new tab
  1. RETURN (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · RETURN is immediate and complete and can be used at any point to exit from a procedure, batch, or statement block. Statements that follow RETURN are not executed.

  2. SQL RETURN and SQL OUTPUT clause in Stored Procedures

    May 28, 2025 · In this article, we look at how to use RETURN and OUTPUT in a SQL Server stored procedure to get a return value after execution.

  3. RETURNSQL Tutorial

    The RETURN statement in SQL Server is a fundamental control-of-flow statement used to exit immediately from a stored procedure, function, or batch and optionally return an integer status code …

  4. RETURN statement in SQL procedures - IBM

    The RETURN statement is used to unconditionally and immediately end an SQL procedure by returning the flow of control to the caller of the stored procedure. When the RETURN statement runs, it must …

  5. Returning Values from Stored Procedures in SQL

    You can return a value from a stored procedure using the RETURN statement. Each stored procedure can only return one value each time it is called and the data type of the return code must be an integer.

  6. SQL 'RETURN' Statement: A Complete Guide | Reintech media

    Sep 28, 2023 · Learn the ins and outs of the SQL 'RETURN' statement with our comprehensive guide. Understand how to use it within functions to control the flow of your scripts and return values as …

  7. Using Stored Procedures with Return Values - SQL Shack

    This article will show how we can use stored procedures return value with all aspects.

  8. T-SQL RETURN in SQL Server

    T-SQL RETURN statement. The RETURN statement can be used in a procedure to return values, it can also be used to end the execution of a sql block.

  9. SQL Return - SQL BI Tutorials

    Jun 27, 2021 · SQL Return is a control-of-flow language keyword which is used to exit unconditionally from a query or stored procedure. It can be used at any point to exit from a stored procedure, batch, …

  10. SQL Return Values - Compile N Run

    Understanding these return mechanisms is essential for building effective database applications. In this tutorial, we'll explore the various ways stored procedures can return values, when to use each …