Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2002
    Posts
    17

    Unanswered: Retrieving Identity Value

    Does anyone know of a way to retrieve an identity value immediately after an insert into a table with an identity column? I was looking at something similar to a SQLCA structure but I dont seem to see any so far.

  2. #2
    Join Date
    Nov 2001
    Location
    Finland, Kirkkonummi
    Posts
    17
    Hello!

    VALUES IDENTITY_VAL_LOCAL () INTO your_var;

    Vesku

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •