![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
1) Is it esaily possible to extend DB tables with new attributes (columns) in case the XML structure is extended? Note that I will extend the DB by hand, no automatic detection is required. |
|
2) How can I prepare my application for such changes in the DB? In particular, existing SQL queries should stay correct and yield the same results as before. |
#3
| |||
| |||
|
|
Dear all, I'm about to design a MySQL data base. I have some basic knowledge about relational databases but am no expert. In particular, it's my first time as designer. The data, the DB is about to hold, is hierarchically organized. In the end, it's a bunch of XML files. Once in a while the XML structure will be extendend incrementally, i.e., new elements and parameters might be present. My concept is that the DB resembles the structure of the XML files. Now my questions: 1) Is it esaily possible to extend DB tables with new attributes (columns) in case the XML structure is extended? Note that I will extend the DB by hand, no automatic detection is required. 2) How can I prepare my application for such changes in the DB? In particular, existing SQL queries should stay correct and yield the same results as before. Thanks, Ulrich |
#4
| |||
| |||
|
|
Dear all, I'm about to design a MySQL data base. I have some basic knowledge about relational databases but am no expert. In particular, it's my first time as designer. The data, the DB is about to hold, is hierarchically organized. In the end, it's a bunch of XML files. Once in a while the XML structure will be extendend incrementally, i.e., new elements and parameters might be present. My concept is that the DB resembles the structure of the XML files. Now my questions: 1) Is it esaily possible to extend DB tables with new attributes (columns) in case the XML structure is extended? Note that I will extend the DB by hand, no automatic detection is required. |
|
2) How can I prepare my application for such changes in the DB? In particular, existing SQL queries should stay correct and yield the same results as before. |
#5
| |||
| |||
|
|
Dear all, I'm about to design a MySQL data base. I have some basic knowledge about relational databases but am no expert. In particular, it's my first time as designer. The data, the DB is about to hold, is hierarchically organized. In the end, it's a bunch of XML files. Once in a while the XML structure will be extendend incrementally, i.e., new elements and parameters might be present. My concept is that the DB resembles the structure of the XML files. Now my questions: 1) Is it esaily possible to extend DB tables with new attributes (columns) in case the XML structure is extended? Note that I will extend the DB by hand, no automatic detection is required. 2) How can I prepare my application for such changes in the DB? In particular, existing SQL queries should stay correct and yield the same results as before. |
#6
| |||
| |||
|
|
Properly designed, a database should almost never need to have its structure modified. *The fact you're even thinking of having to do it in the future indicates a potential problem here. For instance, elements and parameters should probably not be columns in a table; they should be different tables, related back to the original table. |
#7
| |||
| |||
|
|
Properly designed, a database should almost never need to have its structure modified. The fact you're even thinking of having to do it in the future indicates a potential problem here. For instance, elements and parameters should probably not be columns in a table; they should be different tables, related back to the original table. Could you point me to some instrucional example? Thanks, Ulrich |
#8
| |||
| |||
|
|
Properly designed, a database should almost never need to have its structure modified. The fact you're even thinking of having to do it in the future indicates a potential problem here. |
#9
| |||
| |||
|
|
Properly designed, a database should almost never need to have its structure modified. The fact you're even thinking of having to do it in the future indicates a potential problem here. So, it's bad practice to design a database to do sales order processing for a lemonade stand NOW, looking ahead to have it also handle inventory and multiple retail outlets next year, payroll a couple of years down the road, and deal with the issues of being a multinational corporation (multiple currencies, many more tax filings, etc.)a decade down the road if that happens? The kid can't afford software for a multinational corporation now. |
#10
| |||
| |||
|
|
Properly designed, a database should almost never need to have its structure modified. *The fact you're even thinking of having to do it in the future indicates a potential problem here. |
![]() |
| Thread Tools | |
| Display Modes | |
| |