Re: Messy Casts, Is there a better way? - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Messy Casts, Is there a better way?
Date
Msg-id Pine.LNX.4.44.0210152041150.928-100000@localhost.localdomain
Whole thread Raw
In response to Messy Casts, Is there a better way?  (Larry Rosenman <ler@lerctr.org>)
Responses Re: Messy Casts, Is there a better way?
List pgsql-sql
Larry Rosenman writes:

> I have a table with the following, in part:
>
> contract_start date
> contract_term  int (term in MONTHS)

Store contract_term as interval?

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Messy Casts, Is there a better way?
Next
From: george young
Date:
Subject: int id's helpful for indexing, or just use text names?