Re: [INTERFACES] Postgres Date Functions - Mailing list pgsql-interfaces

From Tim Joyce
Subject Re: [INTERFACES] Postgres Date Functions
Date
Msg-id 006301bf3128$9dfa4260$0501a8c0@noonoo
Whole thread Raw
In response to Postgres Date Functions  (Robert Hiltibidal <rob@y2k.state.il.us>)
List pgsql-interfaces
 Select * from tblApplication order by EntryDate desc LIMIT 1

should work

timj


----- Original Message -----
From: Robert Hiltibidal <rob@y2k.state.il.us>
To: <pgsql-interfaces@postgreSQL.org>
Cc: <James_Jorgensen@cms.state.il.us>
Sent: 17 November 1999 17:18
Subject: [INTERFACES] Postgres Date Functions


> Afternoon,
>
> Here's a thorny problem:
>
> Given I have a field called entrydate and is set to type datetime, what is
> the best way to pull the latest entry into that record basing the query
off
> of entrydate?
>
> Currently I am using something like:
>
> Select * from tblApplication order by EntryDate desc
>
> That query pulls all the records. I wish to pull only one.
>
> Thanks,
>
> -Rob
>
>
> ************



pgsql-interfaces by date:

Previous
From: Robert Hiltibidal
Date:
Subject: Postgres Date Functions
Next
From: Goo
Date:
Subject: PGSQL Win32 ODBC Driver works on Win2K RC2