pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dima <_pppp@mail.ru>
To: Carlos Sousa <carlosdsousa@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: small problem
Date: Mon, 11 Nov 2002 17:42:53 +0300
Message-ID: <3DCFC1ED.7060908@mail.ru> (raw)
References: <F214ek2ig4yorAxCT9E00005b5c@hotmail.com>

> 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...





view thread (2+ messages)

Message-ID: <3DCFC1ED.7060908@mail.ru>
Permalink:  ../3DCFC1ED.7060908@mail.ru/
Also on:    postgresql.org/message-id/3DCFC1ED.7060908@mail.ru

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: _pppp@mail.ru, carlosdsousa@hotmail.com
  Subject: Re: small problem
  In-Reply-To: <3DCFC1ED.7060908@mail.ru>

* 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