My requirement is i've to fetch the records that are populated after last package execution date from a table.
To get Last package execution date I'm picking the end_time column from ssisdb -catalog.execution for a package .
Created one exec sql task.
Defined as Single row result set
SQL Statement-select max(end_time) from catalog.execution where package_name='package.dtsx' and project_name='Projectname'and status=7
created a variable name Pkgexecdate .
Maped this result set variable.
In another exec sql task i've to use this result set variable value in a where condition for a sql statement .
connecton string for both exec sql tasks are not in same server.
How do i achieve this ?
SANTHOSH