Execute a SSIS when data is inserted in a table/s


hi folks, goal trigger ssis package after load data finish not using usual agent schedule; on contrary, on demand.

 

from 1 of erp , using odbc, data posted in set of sql tables. idea following: once copy of data finish, ssis raise , generate xml files in ftp.

 

1)defining trigger @ table level , execute sql server agent job , hence, 1 call @ same time ssis. here trigger not know when last row has been inserted apart of locks can generated.

 

2)send email trigger @ table level. act consequently, hand. option ridiculous.

 

3)remove dust old vb .net application used triggering dts, ssis, etc.. under criteria.

 

4)using wmi event watcher task within ssis. using loop task and eval = true. memory leek?

 

5)using notification services? how?

 

thanks indeed sharing ideas , inputs,

hi enric,

i think it'd best set flag in status table ssis can poll periodically

ssis can run every x min , when flag set process not check until package done executing.

that means typically setting run part of windows service encompasses stoppable timer check status flag = ready. elegantly re-enable timer once package reported on success.

the windows service can email, or package, depends.


arthur

myblog


twitter



SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........