Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2011
    Posts
    27

    Unanswered: IDENTITY_VAL_LOCAL() in sql

    in need a equivalent function for IDENTITY_VAL_LOCAL() in sql

  2. #2
    Join Date
    Nov 2004
    Posts
    1,427
    Provided Answers: 4
    I think the closest is SCOPE_IDENTITY(). You should check the details though.
    With kind regards . . . . . SQL Server 2000/2005/2012
    Wim

    Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
    Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages

  3. #3
    Join Date
    Dec 2011
    Posts
    27
    i got it,thanku very much

Posting Permissions

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