Link to home
Start Free TrialLog in
Avatar of Gowtham Ramamoorthy
Gowtham Ramamoorthy

asked on

Execute SQL Task: An error occurred while assigning a value to variable "RecentPackageExecutionDate": "Unable to find column LastTimeJobRunDateandTime in the result set.".

I created a script task in the control flow for getting the recent date of the job from DB. It was working previously when i ran the package but now its throwing an error as mentioned in the title.

Can someone help me on this one ?
Avatar of Brian Crowe
Brian Crowe
Flag of United States of America image

Please attach an image of your SQLStatement as it appears in the SQL Task editor and the Result Set tab or at least double check them to make sure the column name / alias match the Result Name column in the Result Set tab.
ASKER CERTIFIED SOLUTION
Avatar of Phil Davidson
Phil Davidson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial