Re: small problem - Mailing list pgsql-sql

From dima
Subject Re: small problem
Date
Msg-id 3DCFC1ED.7060908@mail.ru
Whole thread Raw
In response to small problem  ("Carlos Sousa" <carlosdsousa@hotmail.com>)
List pgsql-sql
> create table (...)
> (...)
> duration   interval default 7
do you really think it's worth spending 12 bytes for your intervals?
i usually use either timestamps or integers for intervals.
btw, as i know default 7 would be 7 msecs :)

> hourDay    timestamp with time zome
consider using it without a time zone maybe.
if you really mean time of a day use time [with time zone]

> (...)
> 
> 
> if i replace this two data types with varchar2(50) it works but i would 
> like if there's a better choice
it seems oracle still has some probs with sql date/time data types...




pgsql-sql by date:

Previous
From: "Carlos Sousa"
Date:
Subject: small proble
Next
From: "Carlos Sousa"
Date:
Subject: bigger problem