Re: Finding Max Value in a Row - Mailing list pgsql-sql

From Carlos Mennens
Subject Re: Finding Max Value in a Row
Date
Msg-id CAAQLLO6whu1np_oiMze-EUDL_3a5WSmrM+mqytQuhM40wOB_Fg@mail.gmail.com
Whole thread Raw
In response to Re: Finding Max Value in a Row  (Adrian Klaver <adrian.klaver@gmail.com>)
Responses Re: Finding Max Value in a Row  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-sql
On Fri, May 11, 2012 at 3:43 PM, Adrian Klaver <adrian.klaver@gmail.com> wrote:

> Well the question to ask is if it is declared CHAR was that done for a
> legitimate reason? One reason I can think of is to have leading 0s in a
> 'number'. Might want to double check that code downstream is not depending
> on CHAR behavior.

Very good question and asked by myself to the original SQL author and
he explained while he didn't use the most efficient data types, he
used ones "he" felt would be more transparent across a multitude of
RDBMS vendors. So the answer is no, it would not be an issue
considering I use and will always use PostgreSQL. If someone else uses
a different vendor, they can manage that import/export process then.


pgsql-sql by date:

Previous
From: Carlos Mennens
Date:
Subject: Re: Finding Max Value in a Row
Next
From: Thomas Kellerer
Date:
Subject: Re: Finding Max Value in a Row