Hi !
I created a procedure that insert datas into a table.
The id of the new inserted row is generated by sqlserver as an auto-increment integer.
But is it possible that this procedure returns the id it created during this insert ?
Infact I would like to store this id and the date and time of the insert in another table wich would be an history of the insert on the first table.
I created a procedure that insert datas into a table.
The id of the new inserted row is generated by sqlserver as an auto-increment integer.
But is it possible that this procedure returns the id it created during this insert ?
Infact I would like to store this id and the date and time of the insert in another table wich would be an history of the insert on the first table.