Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Word Macro to load a Data Warehouse

Recently I came across a very specific requirement for a Data Warehouse project for one of our customers. Due to their very tight data access and transfer security, network packets were not only being encrypted, but they were also being scanned for DML T-SQL statements like Insert, Update and Select. If any of these statements came across the network the packets were immediately dropped.

With a little creativity and help from one of their developers, who by the way is a Microsoft Office MVP, we developed a Word Macro that enabled us to copy/paste data into the data warehouse.

We inserted more than a million rows less than 1 hour, which is not bad given the constraints and maintenance window.

Here is the link to download the script in text format which will work with the Adventure Works sample databases: MacroScript.txt


Comments

No comments.

Leave a Comment

Please register or log in to leave a comment.