From: | Patrik Kudo <kudo(at)partitur(dot)se> |
---|---|
To: | "Hutton, Rob" <HuttonR(at)plymart(dot)com> |
Cc: | "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgreSQL(dot)org> |
Subject: | Re: [SQL] Problems with default date and time |
Date: | 1999-08-13 14:57:22 |
Message-ID: | 37B43252.C74A350A@partitur.se |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Sorry... I couldn't get the ord_time and ord_date fields
working either. =/
Will the ord_time/date/timestamp ever differ from
eachother? If not, I think you'll still be able to
do what you want to do even after removing the time
and date fields as these can be fetched from the
timestamp field.
/Kudo
>
> -----Original Message-----
> From: Hutton, Rob
> Sent: Friday, August 13, 1999 10:25 AM
> To: 'Patrik Kudo'; Hutton, Rob
> Cc: 'pgsql-sql(at)postgresql(dot)org'
> Subject: RE: [SQL] Problems with default date and time
>
> The time and date fields are for reporting purposes while the
> timestamp is for calculating elapsed time, so I need all of them.
> When I make those changes, I get:
>
> ERROR: DEFAULT clause type 'timestamp' mismatched with column type
> 'time'
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-08-13 15:02:25 | Re: [SQL] Problems with default date and time |
Previous Message | Hutton, Rob | 1999-08-13 14:36:56 | RE: [SQL] Problems with default date and time |