hey sqlmongers -
I run an insert query. the insert query adds one row of data. i want to run another query that grabs the id of the row that was previously added. now i need to make sure that the id that i grab is not going to grab an id that was actually added by another user. what sql statement would be best for this situation?
thanks in advance
I run an insert query. the insert query adds one row of data. i want to run another query that grabs the id of the row that was previously added. now i need to make sure that the id that i grab is not going to grab an id that was actually added by another user. what sql statement would be best for this situation?
thanks in advance