While researching something, I can through an MSDN article that says:
Exits unconditionally from a request or procedure. RETURN is immediate and complete and can be used anywhere to exit a procedure, batch or block . Statements following RETURN are not executed.
The documentation did not come close to the specific situation that I was studying. After reading it, I realized that I did not understand the Return statement and, more specifically, the definition of β statement blocks β as I thought. So that...
What is the t-sql "block"? Are they Begin ... End like brackets in C #, { ... } , or something else?
Thanks!
source share