About 7,310,000 results
Open links in new tab
  1. SQL Server 2000: How to exit a stored procedure? - Stack Overflow

    How can I exit in the middle of a stored procedure? I have a stored procedure where I want to bail out early (while trying to debug it). I've tried calling RETURN and RAISERROR, and the sp keeps on

  2. how to exit the procedure if condition met in a loop PL SQL

    Dec 10, 2016 · I know the 'EXIT' keyword needs to be inside of the loop in order to exit the loop if condition is met. And 'RETURN' needs to be outside of the loop, to exit the procedure.

  3. SQL Server - stop or break execution of a SQL script

    Mar 19, 2009 · Is there a way to immediately stop execution of a SQL script in SQL server, like a "break" or "exit" command? I have a script that does some validation and lookups before it starts doing …

  4. Exit execution when error occurs PL/SQL - Stack Overflow

    If you create a stored procedure, you have more control and can exit whenever you like with a return statement. So create a stored proc: create or replace procedure myProc as begin …

  5. sql server - Exit from a stored procedure - Stack Overflow

    Nov 14, 2013 · 10 I have some loop and a condition. If codition is matched then I want to stop or exit from the stored procedure. How to do that?

  6. SqlServer GOTO for exit procedure with select - Stack Overflow

    May 15, 2017 · I know that have many decisions about it. Yet. If I have procedure then in many cases, I want to select a result and exit the procedure. It good to use GOTO statement, or have a better way …

  7. What's the difference between "end" and "exit sub" in VBA?

    Apr 8, 2016 · Exit Sub can be used only inside a Sub procedure. Additionally, and once you get the feel for how procedures work, obviously, End Sub does not clear any global variables.

  8. Quit program completely from a Pascal procedure - Stack Overflow

    Jan 2, 2020 · 2 My Pascal program has a menu in the main begin statement and 4 procedures. Within each procedure I am confirming to the user if they would like to return to the menu else the program …

  9. Where in stored procedure I can make exit status?

    Dec 8, 2016 · Exit to where? Your routine executes deep in the bowel of the database server, and what "exit" means depends on the interface that you use to call the procedure. I made a java program, …

  10. Oracle PL/SQL - Exit begin end block if condition is not met

    Nov 21, 2020 · Is it possible to exit/skip from a begin end block if a condition is not met? Example: DECLARE my_var BOOLEAN := TRUE; BEGIN IF my_var THEN EXIT_BEGIN_END_HERE; -- …