Re: A Normalization Question

From: Neo <neo55592_at_hotmail.com>
Date: 20 Jul 2004 17:44:46 -0700
Message-ID: <4b45d3ad.0407201644.25e3dfc5_at_posting.google.com>


> > One can't derive that 'brown is composed of b, r, o, w, n' from an
> > empty db; but a demo could convince me otherwise.
>
> SELECT "brown" AS [string], spell('brown') AS spelling;
>
> Function spell(s As String) As String
> n = Len(s)
> r = Left(s, 1)
> For i = 2 To n
> r = r + "," + Mid(s, i, 1)
> Next
> spell = r

If the query is stored in the db, then info to spell 'brown' is coming from SQL stored in db. If the query is not stored in db, the info to spell 'brown' is not coming from the db but from the string 'brown' in the SQL statement itself. You derived that 'brown is composed of b, r, o, w, n' not from an empty db but from info within the SQL statement. Received on Wed Jul 21 2004 - 02:44:46 CEST

Original text of this message