Member of the
LearnItFirst.com Video Training Network
Related Video Training Sites:
·
SSIS Training Videos
·
SQL Programming Tutorials
Create a free account
·
Sign In
SQL Server DBA Video Tutorial
Home
Subscriber Videos
SQL Server Tutorial: Why You Use SCOPE_IDENTITY() Instead of @@IDENTITY
Chapter:
Transact-SQL Basics: Queries, Stored Procedures, Functions and more
Skill Level:
300 (Intermediate)
Duration:
12:17
Size:
9.10MB
Versions/Editions Covered:
SQL Server 2005
,
SQL Server 2008
,
SQL Server 2000
Added/Updated:
May 29, 2006
If your queries and stored procedures use @@IDENTITY (perhaps you have legacy code updated from SQL Server 7.0 or earlier), you'll likely get good value from watching this video on replacing @@IDENTITY calls with the T-SQL function SCOPE_IDENTITY(). This video shows very plainly the negative possiblities of using @@IDENTITY today (triggers are a real problem) and, after you watch this tutorial, you'll never want to use @@IDENTITY again!
Tags for this video:
dbcc check_ident
scope identity
<
Back
People Who Downloaded this Video Also Downloaded:
Title
Skill
Download
Part 1 - An Overview of the Default SQL Server Installation
100
Download
Part 2 - My How Things Have Changed - A Video Walk-Through of Some of the New To...
200
Download
Pt. 1 - Introduction to Stored Procedure Concepts and Common Usage
200
Download
Performance Tuning Query Tips That Everyone Should Know - Using DBCC and SET Com...
300
Download
Creating Database Diagrams in SQL Server Management Studio
200
Download
About the Instructor:
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
·
Corporate Philosophy
·
Advertise With Us
·
Become an Author
·
Contact Us
Video Playback
·
System Requirements
·
TSCC Codec
(to play videos)
·
Troubleshooting/Problems
Subscriptions
·
Pricing/Buy Now
·
Testimonials
·
Privacy
·
Terms of Service
More Video Training
·
SSIS Training Videos
·
SQL Programming Tutorials
·
All of Our Websites
More
·
FAQs
·
Search for videos
·
Site Map
© 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.
11/20/2008 10:53:08 AM