|
-
Mar 29th, 2007, 03:18 AM
#1
Thread Starter
Fanatic Member
Database design
Is it possible to design a database that will hold imformation from excel, but it spossible that the structure of the spreadhseet will change?
-
Mar 29th, 2007, 06:00 AM
#2
Addicted Member
Re: Database design
It depends. Are you expecting the structure of the database to change to match the changes of the Excel spread sheet, or will what ever loads the database from the spreadsheet change, to keep the database structure in tact.
I wouldn't advise constantly changing the structure of a database - it can lead to problems with existing data, and also the application / queries that are built over it.
HTH
JP
Please rate the postings 
-
Mar 29th, 2007, 06:06 AM
#3
Re: Database design
Yup.
Keep your DB structure rigid, and use some kind of mapping tool to import data from structurally volatile spreadsheets.
Is that what you're after?
-
Mar 29th, 2007, 07:19 AM
#4
Re: Database design
It's possible if you store the 'column names that could possibly change' in a table which holds such column names with an id which can map to values you hold in another such table.
-
Mar 29th, 2007, 02:28 PM
#5
Re: Database design
Mendhak, we do thousands of spreadsheet imports a week, using exactly what Penagate suggests - using a mapping file as an intermediary. The program reads the mapping file, which tells it what to do with every column in the spreadsheet. (We've run this on spreadsheets with a few hundred columns and 65k rows with no problems.)
@Penagate - I never noticed the 'Moderator' tag before. Are congratulations in order?
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Apr 2nd, 2007, 05:48 AM
#6
Thread Starter
Fanatic Member
Re: Database design
thansk for the replies, this is what i was thinking. The only problem is if I mapped to a data column how would this one column hold different types of data? ie dates, integers etc
-
Apr 3rd, 2007, 08:47 PM
#7
Re: Database design
Why do you need to store this info in the database and how do you want to retrieve it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|