In order to keep track of Last Inserted records in all the tables , I have generic Insert function which accepts the Table as parameter and returns back last value of AUTO_INCREMENT column .
We did this using Mysql function LAST_INSERT_ID() which gives me the value of the AUTO_INCREMENT column of the most recently executed , In other words the Id of the Latest record.
Now with the Hana Implementation in Our application I wanted to do something similar to it in order to keep track of the current record .
Can you advice any generic solution for this ?
Regards,
Vimal