Browse by Tags

Related Posts

  • Re: @@identity

    After you do an insert you can return the key for the insert like: INSERT INTO [dbo].[table] ( name , phone) VALUES ("Denny", "555-1234") Return @@IDENTITY Also be sure to read on the differences of SCOPE_IDENTITY() and @@IDENTITY - to be sure which one you should use to return the...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by SuperGhost on 10-27-2006, 12:00 AM
    Filed under: Scope_Identity, @@IDENTITY, SQL
Page 1 of 1 (1 items)