pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francis Solomon <francis@stellison.co.uk>
To: Daniel Hentges <danielh@fockink.ind.br>
To: pgsql-sql@postgresql.org
Subject: RE: Date Format
Date: Wed, 13 Dec 2000 13:45:30 -0000
Message-ID: <NEBBIFFPELJMCJAODNPKEEOECDAA.francis@stellison.co.uk> (raw)
In-Reply-To: <sa3738b6.035@fockink.ind.br>

Hi Daniel,

Try this as your query:

SELECT to_char(field, 'DD/MM/YYYY') AS "new name";

Hope this helps

Francis Solomon

>
> In MS Access is:
>      SELECT FORMAT([field],'DD/MM/YYYY') AS new name;
> How I can make in pgaccess?
>
> Daniel Hentges
> Automação
> Fockink In. Eletricas Ltda.
> Panambi - RS - Brasil
>
>




view thread (13+ messages)  latest in thread

Message-ID: <NEBBIFFPELJMCJAODNPKEEOECDAA.francis@stellison.co.uk>
Permalink:  ../NEBBIFFPELJMCJAODNPKEEOECDAA.francis@stellison.co.uk/
Also on:    postgresql.org/message-id/NEBBIFFPELJMCJAODNPKEEOECDAA.francis@stellison.co.uk

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: francis@stellison.co.uk, danielh@fockink.ind.br
  Subject: RE: Date Format
  In-Reply-To: <NEBBIFFPELJMCJAODNPKEEOECDAA.francis@stellison.co.uk>

* 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