Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Invalid length parameter passed to the LEFT or SUBSTRING function

$
0
0

Hi ,

I have a OLEDB source query that uses substring function to fetch the value. while running the query with the same data in SSMS i am not getting any errors and it is giving the successful results but while executing the same query through SSIS packages scheduled in SSIS server . I am getting the below error.
"Invalid length parameter passed to the LEFT or SUBSTRING function".

when i am running the package through BIDS for the same data i am not getting the error but ots only coming when running through the scheduled job in ssis server.

Package was running successfully from the past 3 years but suddenly this error is popping out . I have no clue what is happening .

I have validated the data manually as well but no clue as all the data is correct.

Please help in suggesting what can be the reason of this error or how i can debug this error.


Viewing all articles
Browse latest Browse all 24688

Trending Articles