Formatting date question - Mailing list pgsql-general

From Linn Kubler
Subject Formatting date question
Date
Msg-id sd650d56.041@gw1.inet.ecw.org
Whole thread Raw
Responses Re: Formatting date question  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-general
Hi,

I'm using a database program to query my postgres backend and I'm
trying to convert a timestamp to a date for display purposes.  In psql I
can use to_char() and it works fine but that command doesn't work in my
database applications sql select statement, just gives a syntax error.
Of course if I try using the similar command from the database
application the query fails.  I'm using Visual Fox Pro via odbc, they
call it sql passthru.

Any suggestions?

Thanks in advance,
Linn


pgsql-general by date:

Previous
From: Björn Lundin
Date:
Subject: Re: Transaction processing from a Perl script....
Next
From: "Nigel J. Andrews"
Date:
Subject: Re: Formatting date question