Member of the LearnItFirst.com Video Training Network Related Video Training Sites: · SQL Server DBA Tutorials · Integration Services Training
   
Transact SQL
                        Training Videos

Transact SQL Tutorial: Using SET Commands Inside Stored Procedures and When Executing Stored Procedures

   Chapter: Commonly Used T-SQL Constructs: Datatypes, Type Conversion, Variables, System Functions and Views and more
Download! Skill Level: 300 (Intermediate)
Duration: 11:02
Size: 7.47MB
Versions/Editions Covered: SQL Server 2005 , SQL Server 2008 , SQL Server 2000
Added/Updated: Apr 18, 2006

Download this video
This video is "Must-See TV" for those of you wanting to be better stored procedure programmers. The focus of this video is how the scoping of the SET commands in your stored procedures can impact performance and/or results.

This video was shot on SQL Server 2005 but the same concepts still apply for SQL Server 2000

Highlights from this video:

  • Using SET NOCOUNT ON/OFF
  • Using TOP vs. ROWCOUNT
  • Best Practices for using SET commands in stored procedures
  • Optimizing stored procedures for faster execution and easier client use
  • Temporary tables and scoping
  • Creating temporary stored procedures
  • Using DBCC USEROPTIONS to view connection settings
  • sys.objects/sysobjects
  • Error Handling with transactions using XACT_ABORT and @@ERROR

Tags for this video: commit declare @e int rollback set @e = @@error SET XACT_ABORT ON while  
< Back Download this video
AddThis Social Bookmark Button
People Who Downloaded this Video Also Downloaded:
TitleSkillDownload
Subqueries, Nested Queries, and Derived Tables - An Introduction to Advanced SQL... 300 Download
Constraint Keys, Index Keys, Composite Keys, Natural keys, and Surrogate Keys 200 Download
Query Analyzer - Beyond the Basics (SQL Server 2000) 200 Download
When to Use HAVING Instead of WHERE - Aggregates, GROUP BY, and the HAVING Claus... 300 Download
JOINs and UNIONs - How Do I Know When to Use a JOIN or a UNION? 300 Download
This video is part of the following video series: "Transact-SQL SET Commands - An Overview of the Most Commonly Used SET Commands"
What's funny is that most SQL programmers don't even know that there are SET commands to begin with, let alone what they're used for. Want to put yourself ahead of the pack? Watch this series and learn what SET commands are, how they are scoped and lots more good info.
To view all videos in this series, click here

About the Instructor:

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 Whigham's full bio can be found on the About the Author page)

   
 
About Us Video Playback Subscriptions More Video Training More
 
© Copyright 2004-2008 LearnItFirst.com LLC. All rights reserved. All trademarks remain the property of their respective owners. This site is not affiliated in any way with the Microsoft Corporation. Refer a Friend and Get a Free Subscription!
 
8/29/2008 1:37:38 AM