Hi,
how can I get the next auto increment number from a table before inserting a row?
Using max(id) wouldn't work anymore if I had just deleted the last record as the 'id' returned would be 1 less than the auto increment. Any suggestings?
JR (IT = Logic (except for a well known OS where it equals luck) -> Back to the Basics!
how can I get the next auto increment number from a table before inserting a row?
Using max(id) wouldn't work anymore if I had just deleted the last record as the 'id' returned would be 1 less than the auto increment. Any suggestings?
JR (IT = Logic (except for a well known OS where it equals luck) -> Back to the Basics!