Home » MYSQL » Using Sequences » Question
  1. The ‘LAST_INSERT_ID()’ is tied only to the ‘AUTO_INCREMENT’ values generated during the current connection to the server.
    1. False
    2. True
    3. NA
    4. NA
    5. NA
Correct Option: B

The ‘LAST_INSERT_ID()’ is tied only to AUTO_INCREMENT values that are generated during the current connection to the server. It is not affected by AUTO_INCREMENT tied with the other clients.



Your comments will be displayed only after manual approval.