In the first of this three-part series, you will learned how to use scripts and batches, and basics of T-SQL variables.
Checkout the part-2 of this article series here, you will learn about Transact-SQL control-of-flow language, including BEGIN…END, IF…ELSE, CATCH, WHILE, BREAK, CONTINUE, RETURN, and WAITFOR.
This article is published on SSWUG.org.