From: Mark Jewiss <mark@office.knowledge.com>
To: JT Kirkpatrick <jt-kirkpatrick@mpsllc.com>
Cc: 'pgsql-sql@hub.org' <pgsql-sql@hub.org>
Subject: Re: [SQL] finding the most recent records
Date: Fri, 30 Apr 1999 15:55:45 +0100 (BST)
Message-ID: <Pine.BSF.4.05.9904301554190.20696-100000@office.knowledge.com> (raw)
In-Reply-To: <01BE92F4.8E44C660.jt-kirkpatrick@mpsllc.com>
On Fri, 30 Apr 1999, JT Kirkpatrick wrote:
> I didn't find who originally asked how to do this, but it IS possible to
> identify the most recent if you have a field in the table defined as
This will work, but Postgresql contains a specific datatype that you can
have as a unique identifier. Every time a row is inserted it will take the
number and increase by one. Uses an integer to do this.
Cheers,
Mark.
--
Mark Jewiss
Knowledge Matters Limited
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: mark@office.knowledge.com, jt-kirkpatrick@mpsllc.com, pgsql-sql@hub.org
Subject: Re: [SQL] finding the most recent records
In-Reply-To: <Pine.BSF.4.05.9904301554190.20696-100000@office.knowledge.com>
References: <01BE92F4.8E44C660.jt-kirkpatrick@mpsllc.com> <Pine.BSF.4.05.9904301554190.20696-100000@office.knowledge.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox