Video:
Variables and Scoping - Local Variables and Batch Terminators
Skill
level:
200 (Beginner - Intermediate)
Run Time:
7:53
Instructor:
Scott Whigham
Description:
The rules for variable scoping (i.e., the "life of the variable") in SQL Server might be a little different from the rules in other languages. To understand variable scoping in SQL, you have to have a good understanding of batches. This video helps you understand both!
Download
and watch this video
NOTE: You will need the TSCC codec
installed to view video
Scott Whigham
Scott Whigham is the founder of LearnItFirst.com, one of the web's most extensive
video training libraries focusing on technical training. Scott is also an experienced
consultant, trainer, and author with more than a decade of hands-on experience working
with SQL Server databases, writing and debugging applications using Visual Studio,
and performance tuning. Scott designed the architecture (websites, class libraries,
and database) for the LearnItFirst.com websites and, most
re...
(Scott's full bio can be found here)
NOTE: This video is part of our
SQL Server 2000 Database Administration course.
This video is from Chapter
8:
TSQL Programming: Stored Procedures, Variables, Functions and Triggers