![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
We are receiving a reporting database from a vendor nightly. We want to upload this data and structures to SQL Server nightly. We want it to be as flexible as possible - if the vendor adds/deletes a table/column, the import job should handle that. Apparently, the Import/Export wizard in SQL Server and the Upsizing Wizard in Access both require you to specify what tables to import. This would prohibit the job from creating new tables/columns on the fly. Any suggestions for a solution to this problem? Thanks for the help... |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Couple of questions: 1. Are you trying to append this information to an existing reporting database, or are you simply discarding a database daily and replacing it with this new reporting db? 2. What format is the reporting db in (Access, SQL Server)? 3. How much control do you have over the vendor deliverable? Do you have administrative rights on the box from whence the data comes, or is it some form of EDI? Stu |
#5
| |||
| |||
|
|
Backup and restore? Transfer Objects Task ? -- Darren Green http://www.sqldts.com http://www.sqlis.com "Steve R" <SteveR (AT) discussions (DOT) microsoft.com> wrote in message news:116327AF-3861-4406-845A-020093FAF674 (AT) microsoft (DOT) com... We are receiving a reporting database from a vendor nightly. We want to upload this data and structures to SQL Server nightly. We want it to be as flexible as possible - if the vendor adds/deletes a table/column, the import job should handle that. Apparently, the Import/Export wizard in SQL Server and the Upsizing Wizard in Access both require you to specify what tables to import. This would prohibit the job from creating new tables/columns on the fly. Any suggestions for a solution to this problem? Thanks for the help... |
#6
| |||
| |||
|
|
1. We want to discard the database daily and replace it with the new db. 2. The vendor delivers an Access database, which we want to upload/import into SQL Server. 3. We do not have control over the vendor's deliverable. As far as we are concerned, it is only a file to be FTP'ed to us nightly. We will process from there. "Stu" wrote: Couple of questions: 1. Are you trying to append this information to an existing reporting database, or are you simply discarding a database daily and replacing it with this new reporting db? 2. What format is the reporting db in (Access, SQL Server)? 3. How much control do you have over the vendor deliverable? Do you have administrative rights on the box from whence the data comes, or is it some form of EDI? Stu |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
Is the requirement to merge this with an existing DB or just to load the vendor's DB onto your server. If it's the latter then just BACKUP/RESTORE or detach/attach. If you actually want to merge client schema changes into your own DB while keeping your existing data then you face quite a challenge. Suppose the data you already have in your tables violates the constraints, datatypes or other metadata changes that the client has made? Do you then want to delete invalid data from your database? It's certainly possible to automate or semi-automate simple changes like adding or removing columns. For that you'll probably want a package with more sophisticated metadata management features than DTS has. Consider purchasing some third-party ETL tools for the job. -- David Portas SQL Server MVP -- |
#9
| |||
| |||
|
|
Is the requirement to merge this with an existing DB or just to load the vendor's DB onto your server. If it's the latter then just BACKUP/RESTORE or detach/attach. If you actually want to merge client schema changes into your own DB while keeping your existing data then you face quite a challenge. Suppose the data you already have in your tables violates the constraints, datatypes or other metadata changes that the client has made? Do you then want to delete invalid data from your database? It's certainly possible to automate or semi-automate simple changes like adding or removing columns. For that you'll probably want a package with more sophisticated metadata management features than DTS has. Consider purchasing some third-party ETL tools for the job. -- David Portas SQL Server MVP -- |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |