ASPNL logo (1 kb)
Thursday, November 20, 2008

powered by


Microsoft ASP.NET Connections
Member of ASP Guild
<< previous | index | next >>
The fastest way to get the autonumber of a newly inserted record

The fastest way to get the autonumber of a newly inserted record

By Ken Schaefer
9 July 2001

Abstract
This article is about getting the autonumber value from an Access or SQL Server database. Two methods are discussed:

  • Getting the autonumber value using an ADO Recordset
  • Getting the autonumber with an @@identity query

This article can be found here. Our Dutch site contains a translation of this article.
All translations are by permission.

<< previous | ^ to top | index | next >>
copyright 2000-2002 ASPNL