Re: Modelling items with attribute name/value pairs
From: Svenigalla <vu2syy_at_yahoo.com>
Date: Fri, 16 Mar 2001 02:06:14 GMT
Message-ID: <3AB17592.1554B4AA_at_yahoo.com>
Date: Fri, 16 Mar 2001 02:06:14 GMT
Message-ID: <3AB17592.1554B4AA_at_yahoo.com>
Hi Mark,
In my view, storing data in this format is NOT of much help. By spreading
the attributes of a single item in multiple records does not lend itself to
be used in JOINS with other tables. Much worse, you dont even know what
attribute each record holds!
So a better option is to store that data in a single varchar field, if your
specific database allows. The data could be formatted using XML like this.
<item>
<attribute1>data1</attribute1>
..
</item>