Re: Cast NULL into Timestamp?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Cc: Wei Weng <wweng(at)kencast(dot)com>
Subject: Re: Cast NULL into Timestamp?
Date: 2004-12-11 05:11:28
Message-ID: 200412102111.28104.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Wei,

> insert into table temp (tempname, tempdate)
> select distinct 'tempname', null from some_other_relevant_table;

I don't think you're reporting the error exactly as it happened. Try cutting
and pasting your actual PSQL session into your e-mail.

Perhaps you are mixing up the column order?

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Joe Conway 2004-12-11 11:55:44 Re: Create Calendar
Previous Message Kenneth Gonsalves 2004-12-11 05:00:55 replacing mysql enum