103 How to log start and end time of all tasks in SSIS package

  Рет қаралды 4,656

Learn SSIS

Learn SSIS

Күн бұрын

Пікірлер: 32
@mbourgonwork4693
@mbourgonwork4693 Жыл бұрын
Fascinating, but why would you do it this way? Why not use the internal tables? catalog.operations, catalog.event_messages, internal.operations_messages? You can already get all of this from that.
@drummermike5150
@drummermike5150 Жыл бұрын
Thank you so much! Excellent video once again!
@learnssis
@learnssis Жыл бұрын
Thank you Mike.
@jarisalmanzar2724
@jarisalmanzar2724 2 жыл бұрын
Thanks for the helpful video!
@learnssis
@learnssis 2 жыл бұрын
You are most welcome.
@ravikota3977
@ravikota3977 Жыл бұрын
Hi , Can we perform same thing in SQL through stored procedure
@learnssis
@learnssis Жыл бұрын
From sql stored procedure how you will know what SSIS package is doing. If you can write the sql insert queries inside sp and if you call sp from ssis package then it can be done.
@ravikota3977
@ravikota3977 Жыл бұрын
Please help on my requirement
@karthikcs100
@karthikcs100 Жыл бұрын
Hi, Aqil, If my target DB is Informix, how to implement the insert and select @@identity in the On Pre Execute expression?
@learnssis
@learnssis Жыл бұрын
Hi Karthick, Sorry I never worked with Informix DB. Thus I won't be able to help you on this, you need to take help from internet.
@karthikcs100
@karthikcs100 Жыл бұрын
@@learnssis Thanks Aqil for the reply, will work on it.
@karthikcs100
@karthikcs100 Жыл бұрын
Hi Aqil, I have successfully done this feature to the target Informix DB. your videos are so helpful and educational. thanks bro
@learnssis
@learnssis Жыл бұрын
@@karthikcs100 Thank you Karthick, glad you figured it out.
@karthikcs100
@karthikcs100 Жыл бұрын
@@learnssis Hi Aqil, I am using 2015 SSDT tool in which the Parameter tab is missing in ODBC Source unlike OLEDB Source. What version are you using currently and any idea on to get Parameter tab in the ODBC source when data access mode : SQL command is selected. Thanks
@avirajedudhabhate1731
@avirajedudhabhate1731 Жыл бұрын
Hi all, I need help urgently on a similar scenario, in my scenario I need to update the log table like this - Id , package name, start date, end date, status (success/failure) ... And I have master package and inside the master package I'm calling 3 packages, so if I ran master package the inside 3 packages should run parallely , for this master package only I need the log table, Please help somebody
@learnssis
@learnssis Жыл бұрын
Hey, if the Id field is Identity then what you can do before calling an SSIS package, you can insert a record into the log table like below. Also declare an SSIS variable Id of type Int32 and execute this code inside execute sql task and assign the single result set value to Id variable. insert into audit_log select 'PackageName',getdate(), NULL,'' select @@identity After running above query it will assign the max id from audit_log table to Id ssis variable. Now after the completion of ssis package you can put an update query like below update audit_log set enddate = getdate(), status = 'Success' where Id = (DT_WSTR,12)(drag and drop Id from variable list here)
@avirajedudhabhate1731
@avirajedudhabhate1731 Жыл бұрын
@@learnssis thank you so much for your prompt response, appreciated,🙏🙏 will check with your resolution thanks again
@avirajedudhabhate1731
@avirajedudhabhate1731 Жыл бұрын
@@learnssis hi sir, I tried to do as per your resolution but now the table itself is not getting loaded/ updated after running the package
@sfarheen23
@sfarheen23 2 жыл бұрын
Hi, I have learnt SSIS watching your videos and started working on it now Could you please make some videos on Reusable package parts? It would be helpful
@learnssis
@learnssis 2 жыл бұрын
OKay, will think about it.
@sfarheen23
@sfarheen23 2 жыл бұрын
@@learnssis Thanks🙂
@Loknath7702
@Loknath7702 2 жыл бұрын
Hi Aqil, I have sent you a scenario through mail. Could you please check it and send me the solution for that. Thanks.
@learnssis
@learnssis 2 жыл бұрын
Just replied to you, please check the email.
@haters6881
@haters6881 Жыл бұрын
Hi bro
@haters6881
@haters6881 Жыл бұрын
I want one video like data migration lastrefreshed date to ssis package start date but source 7
@haters6881
@haters6881 Жыл бұрын
How to put condition
@learnssis
@learnssis Жыл бұрын
@@haters6881I have a detailed video on similar thing, you can take a look kzbin.info/www/bejne/enbbaKB6nbieppY
@learner_SSIS
@learner_SSIS 2 жыл бұрын
Thank you Aqil sir helpfull video 👍
@learnssis
@learnssis 2 жыл бұрын
You are most welcome Naveen.
@learner_SSIS
@learner_SSIS 2 жыл бұрын
🔥 thank you soo much sir 😀
@learnssis
@learnssis 2 жыл бұрын
You are most welcome Naveen Sir.
131 How to add a logging to SSIS package?
25:42
Learn SSIS
Рет қаралды 8 М.
09 Precedence constraints in SSIS | SSIS real time scenarios
11:34
УЛИЧНЫЕ МУЗЫКАНТЫ В СОЧИ 🤘🏻
0:33
РОК ЗАВОД
Рет қаралды 7 МЛН
05 Load only new files in SSIS
13:44
Learn SSIS
Рет қаралды 35 М.
111 How to export data to new excel file every time in ssis
14:35
71 What are expressions in SSIS ? How to write expressions ?
18:10
130 How to read data from api in ssis
18:26
Learn SSIS
Рет қаралды 20 М.
145 How to deploy ssis package in ssis catalog and schedule it
23:25