Avatar billede dougheffernan Nybegynder
21. februar 2007 - 11:32 Der er 9 kommentarer og
1 løsning

Pros and Cons

4 Microsoft Access database, en for hvert land, som er identiske, rent struktur-mæssigt, skal porteres til SQL Server.
Hvad er Pros og Cons i disse 2 tilfælde:
1. 4 SQL Server databaser, en for hvert land
2. 1 SQL Server database, med 4 identiske tabeller (med forskellige navne), en for hvert land.
Avatar billede terry Ekspert
21. februar 2007 - 11:42 #1
Well I'm not going into the pros and cons but I would put all my eggs in one basket (1 db with all countries in the same tables)
Avatar billede terry Ekspert
21. februar 2007 - 11:43 #2
And if you designed your Access fron-end correctly you would only need one of them too.
Avatar billede dougheffernan Nybegynder
21. februar 2007 - 12:06 #3
Sure, terry, that way the total size of the database(s) would be smaller than separate databases, Enterprise Manager would look a LOT "cleaner", the number of ODBC connection strings would be 1/NumberOfDatabases, but IF something goes wrong and we need a backup, it would restore the entire database and perhaps it's just the data from Denmark that need to be restored. I had another reason for keeping the databases separate, but forgot it again... :(
Avatar billede dougheffernan Nybegynder
21. februar 2007 - 12:26 #4
I'd have to rewrite some of the code in the frontend (lots of functions uses tablenames - hardcoded, and they are NOT global variables!)
Avatar billede terry Ekspert
21. februar 2007 - 12:36 #5
I can see your point in backup/restore but SQL Server is much more reliable than Access.

(lots of functions uses tablenames - hardcoded ...)
the table names can be the same as they were before.
Avatar billede terry Ekspert
21. februar 2007 - 12:39 #6
I work all the time with data from different countries and I would never concider puting the data in different tables/databases. This would make maintenance much more compex.
Avatar billede dougheffernan Nybegynder
21. februar 2007 - 13:18 #7
"I work all the time with data from different countries and I would never concider puting the data in different tables/databases. This would make maintenance much more compex"

Yes, I agree, hence my question - when your firm expands over multiple divisions or countries, it's time to think in terms of other solutions than just creating YET another, IDENTICAL, database.
Thanks a lot, terry, please "post an answer". :)
Avatar billede terry Ekspert
21. februar 2007 - 13:33 #8
And dont forget the upsizing wizard in Access.
If you upsize one of your dB's then make any alterations such as new field containing country ID for example. Then I would think it would be best to use SQL's import functions along with DTS to import the other databases.
Avatar billede dougheffernan Nybegynder
21. februar 2007 - 13:41 #9
:)
I ALWAYS use DTS/ SQL's Server's import function. :)
Avatar billede terry Ekspert
21. februar 2007 - 13:49 #10
thanks and good luck :o)
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Computerworld tilbyder specialiserede kurser i database-management

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester