![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a DTS package which imports data from a text file into SQL server. I am using Data driven query task for the same. I dont want to execute this task if the source text file is not available. What is the best way of doing this? I think multiphase data pump can be used here but not sure as to which return code is to be used? Anyone having pointers may please help. Thanks, Ajit |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks Allan, The thing is I have 4 different DDQs to import 4 different data files. My requirement is to check presence of data file and if file is present then only execute DDQ. But if one file is missing and other three are present, import those three data files. If a file is not present, I get an error message "Error opening datafile. This system can not find the file specified." What I want is just skip one DDQ and execute other three for which input files are present. Thanks, Ajit |
![]() |
| Thread Tools | |
| Display Modes | |
| |