| Article: |
Faster Filtered SQL Server Imports | |
| Subject: | Questions about BCP and CPAN | |
| Date: | 2007-01-06 23:17:21 | |
| From: | glasswalk3r | |
|
Hello there,
|
||
Showing messages 1 through 2 of 2.
-
Questions about BCP and CPAN
2007-01-08 08:06:09 CPG [Reply | View]
Thanks for the questions.
1. The simple answer is that, before I wrote this module, I used DTS rather than BCP for my data loading. BCP probably would have been quicker for bulk loading data from flat-files, but it did not have the flexibility of DTS for controlling the different data sources, performing data transformations, etc. The article gives an example of working with the DTS object model but, due to space considerations, does not use the full range of available DTS features.
2. I had not planned to put this on CPAN, but if people were interested, I could do.




$Conn->ConnectionProperties->{"File Format"}->{Value} = 2;
$Conn->ConnectionProperties->{"Column Lengths"}->{Value} = "6,25,25";