2009/10/4 mohammad qoreishy <[email protected]> > > How can get last inserted record in a table without any autoincrement filed? > I need to frequently fetch the last inserted record. > If I must use the "Cursor" please explain your solution. >
RETURNING clause? http://www.postgresql.org/docs/current/interactive/sql-insert.html Osvaldo -- Sent via pgsql-sql mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql
