Hi All,
I have a SSIS pkg, I have
1. Sart_time (datetime datatype)
2. End_time (datetime datatype)
3. Run_time ( Time(0) datatype)
I am using the Run_time to get the difference of star & end time to calculate the time taken to complete the execution of pkg.
When I run the below query in Management Studio I am getting the desired result as below, however when ran through SSIS expression using Execute SQL Task to update this table, it is updating it to NULL, as I am having the same code in SSIS I was expecting it give the the result.
select CAST(END_TIME - START_TIME AS TIME(0)) from Log_table
00:00:56
Regards
Neil