C
Curtis Justus
Hi,
I didn't quite know where to post this, so I figured I would start here.
I am trying to look at the pros and the cons of storing XML in a single
field of a database table. Here is a sample structure:
Table: contact
Fields:
FirstName varchar(20)
LastName varchar(20)
XML_Addresses varchar(1000)
etc...
One of the arguments for having this type of a setup is that the structure
of an Address in this context can change without having to make changes in
the database structure. For that matter, the change could take place in the
UI and just pushed through the business layer directly to the database as a
"dummy field."
I am looking for as many arguments for and against this type of data model.
I don't want to share my view in fear that objectivity might be lost.
Thanks in advance,
cj
I didn't quite know where to post this, so I figured I would start here.
I am trying to look at the pros and the cons of storing XML in a single
field of a database table. Here is a sample structure:
Table: contact
Fields:
FirstName varchar(20)
LastName varchar(20)
XML_Addresses varchar(1000)
etc...
One of the arguments for having this type of a setup is that the structure
of an Address in this context can change without having to make changes in
the database structure. For that matter, the change could take place in the
UI and just pushed through the business layer directly to the database as a
"dummy field."
I am looking for as many arguments for and against this type of data model.
I don't want to share my view in fear that objectivity might be lost.
Thanks in advance,
cj