![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am importing text files into SQl using the Transform Data Task. I need to validate some information by checking if a value in the text file (i.e. EmpID) exists in an existing table (Emp). I am trying to use a lookup in the Transform Data Task (Lookups tab). What I can't figure out is how do I reference the value from the text file in the SQL statement and how do I know it the lookup is successful or not? Also, if the text file has multiple fields to be validated, can I do this also? What I want to do is not import the record if the lookup fails. Thanks |
#3
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |