Free SQL Server 2005 Video Tutorial: Why You Use SCOPE_IDENTITY() Instead of @@IDENTITY
Why You Use SCOPE_IDENTITY() Instead of @@IDENTITY - download
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!
- Category: SQL Server Videobooks
- Skill Level: 300 (Intermediate)
- Length: 12:17 (9.10MB)
- Source Videobook Entry (Subscriber-only version)
To download this video, visit the Free Videos page, click "download" and enter the correct security code.
Note: You must have the TSCC codec installed to view this video

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home