SCOPE_IDENTITY() versus @@Identity
Bill Vaughn points out that we should normally NOT be using @@Identity to fetch the last-set identity value with SQL Server. This is definitely an important, and often misunderstood (and misused) point.
I want to note that the code generated (for typed DataSets) by the latest builds of VS 2005 (post Beta2) are now generating code with SCOPE_IDENTITY() rather than @@Identity.