With SQL server you can simply return @@Identity to get the ID value of the last insert.
Is there a way to do this using elevatedb?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ElevateDB provides a LASTIDENTITY function which returns the last identity value assigned to the specified column in the specified table.
You can also obtain the same information using the INSERT statement.
The above example is from the Support Forum.