reading last inserted record withoud any autoincrement field

From: mohammad qoreishy <m_qoreishy(at)yahoo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: reading last inserted record withoud any autoincrement field
Date: 2009-10-04 14:49:54
Message-ID: 444951.51198.qm@web33806.mail.mud.yahoo.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2009-10-04 15:00:36 Re: Common table expression - parsing questions
Previous Message the6campbells 2009-10-04 13:25:00 Re: Common table expression - parsing questions