Derek Trauger & Associates
Register | Login
  • Home
  • Company
  • Products
    • Android Apps
      • Bait Shops
      • Boat Ramps
      • BoatUS
      • Buoys
      • Magic Basketball Online
      • Dive Spots
      • PADI
    • DotNetNuke Modules
      • DNN BackItUp Module
      • DNN SiteMap Module
      • DNN CountDown/Up Module
    • iPad Apps
      • Bait Shops HD
      • Dive Spots HD
      • Simple Charts
    • iPhone Apps
      • Bait Shops
      • Boat Ramps
      • BoatUS
      • Buoy Tracker
      • Dive Spots
      • PADI
      • Simple Charts
    • Windows Applications
      • Application Pool Defibrillator
      • MD5 File Comparison Tool
  • Services
  • Support
  • Contact

Technical Blog

Entries for June 2009

Identifying the Last Identity Value Inserted (SQL Server)

On many occasions rows may be inserted utilizing an identity column as the primary key, in many of these cases it may be necessary to capture the newly auto-generated value. The following article will describe three such approaches: @@IDENTITY, SCOPE_IDENTITY(), and IDENT_CURRENT().

[Read more...]

Posted by Derek Trauger on Thursday, June 11, 2009
Posted in: SQL

» Permalink
25 Latest Articles Current Articles | Archives | Search

Categories

ASP.NET (5)
C# (9)
DotNetNuke (3)
Encryption (1)
JavaScript (1)
SQL (8)
Objective C (1)

Archive

February 2010 (1)
January 2010 (4)
December 2009 (1)
November 2009 (1)
September 2009 (2)
July 2009 (1)
June 2009 (1)
May 2009 (5)
April 2009 (1)
March 2009 (3)
February 2009 (1)
©2008-2011 Derek Trauger & Associates, LLC Home|Company|Products|Services|Support|Contact
Privacy Statement Terms Of Use