I want to write an sql query that will essentially create a record in a table that has an id set as an autonumber. Then after the record is created (but within the same procedure) retrieve that autonumber. So like an insert and select all in one procedure. I tried to something like this but I cannot get it to work.
any help would be appreciated
any help would be appreciated