Postgresql function for last inserted id
- by Anton
I am looking for function in postgres that returns last inserted id into table.
In MS SQL there is SCOPE_IDENTITY(). Is something same in PostgreSQL?
Please, do not advise use something like this:
select max(id) from table