Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2002
    Location
    Toronto, Canada
    Posts
    76

    Unanswered: @@identity in postgresql?

    I'm suppose to migrate data at work from MS SQL server to Postgresql. Everything is done except, how can I obtain @@identity in postgresql?

    Thanks in advance.

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    You can use nextval() or currval().

  3. #3
    Join Date
    Feb 2002
    Posts
    2,232
    Check out the following link:

    link

Posting Permissions

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