Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004

    Unanswered: implement sequance in mysql.

    I have multithread process which it insert data into a table.
    and it return the primary key of the specific row.
    how can I promise that my process will return me the exact id which it insert
    and not another id of differnt thread?

    in oracle it will be fix by sequance
    do i sequance in mysql?

  2. #2
    Join Date
    Feb 2004
    In front of the computer
    Provided Answers: 54
    An Oracle sequence translates to a MySQL AUTO_INCREMENT.


Posting Permissions

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