From: Bob Kruger <bkruger@mindspring.com>
To: pgsql-general@postgresql.org
To: pgsql-sql@postgresql.org
Subject: Date time insertion
Date: Wed, 23 Jun 1999 14:06:54 -0500
Message-ID: <3.0.5.32.19990623140654.007d9d60@mindspring.com> (raw)
I am trying to insert both the date and the time into a datetime field.
If the field datetime in table v1 is dt, then the following successfully
inserts the date into the datetime field:
insert into v1 (date) values ('19990401') ;
However, if I also wanted to retain the time of day, the following does not
work:
insert into v1 (date) values ('199904011530') ;
Any hints?
Thanks in advance.
Regards - Bob Kruger
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: bkruger@mindspring.com, pgsql-general@postgresql.org
Subject: Re: Date time insertion
In-Reply-To: <3.0.5.32.19990623140654.007d9d60@mindspring.com>
References: <3.0.5.32.19990623140654.007d9d60@mindspring.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