Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!j73g2000cwa.googlegroups.com!not-for-mail
From: "-CELKO-" <jcelko212@earthlink.net>
Newsgroups: comp.databases.theory
Subject: Re: Why all the max length constraints?
Date: 29 May 2006 15:08:29 -0700
Organization: http://groups.google.com
Lines: 13
Message-ID: <1148940509.047851.130140@j73g2000cwa.googlegroups.com>
References: <1148773922.267863.170930@j55g2000cwa.googlegroups.com>
   <1148829610.744003.306180@u72g2000cwu.googlegroups.com>
NNTP-Posting-Host: 201.17.239.78
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1148940514 6734 127.0.0.1 (29 May 2006 22:08:34 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 29 May 2006 22:08:34 +0000 (UTC)
In-Reply-To: <1148829610.744003.306180@u72g2000cwu.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Win 9x 4.90; pt-BR; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: j73g2000cwa.googlegroups.com; posting-host=201.17.239.78;
   posting-account=EzrcbQ0AAACimcwOd0QEJhKx5W98nxwt
Xref: dp-news.maxwell.syr.edu comp.databases.theory:40231

>> Joe Celko defending the SQL types on the grounds that they were chosen to fit well with existing programming languages in which SQL would be embedded <<

It was not so much as "existing programming languages" (i.e. ANSI X3J
languages, with whom we were communicating) as it was the current crop
of physical data types (BCD, IEEE floating point, two-complement
integers, etc.) found in the hardware, which the X3J languages and
proprietary languages were using. Thus we have subtle differences in
FLOAT and REAL, DECIMAL(s,p) and NUMERIC(s,p), and character set
collations, etc.

If a new language comes along, it will probably be built on those
hardware data types.

