D
|
danaci 5/9/2011 |
select max(id) maxID from your_table |
![]() |
Sergey Kornilov admin 5/9/2011 |
Correct SQL Query to execute is select max(id)+1 as maxID from your_table
|
E
|
electromotive 5/12/2011 |
select max(id) maxID from your_table
|
![]() |
bbarker author 5/13/2011 |
There are several possible solutions to this which work in a multi-user environment and if the transaction gets delayed or aborted. ...Once you complete the add (which technically is now an update), you update the state field to indicate that the record is now 'active'.
|
T
|
tedwilder 5/18/2011 |
. |