150 How to continue ssis package if a specific task fails

  Рет қаралды 1,667

Learn SSIS

Learn SSIS

Күн бұрын

Пікірлер: 14
@koushaljha4507
@koushaljha4507 11 ай бұрын
This is very helpful..
@learnssis
@learnssis 11 ай бұрын
Thank you Sir, sab aapse hi seekha he.
@amythsharma6227
@amythsharma6227 11 ай бұрын
Hi Sir , I created my first ssis package referring your videos this month ,imo you provide very crisp consise information being a newbie quite helpful, keep up the good work 👍🏻
@learnssis
@learnssis 11 ай бұрын
Thank you Amyth Sharma.
@Aeditya
@Aeditya 11 ай бұрын
Thanks for the learning
@learnssis
@learnssis 11 ай бұрын
You are most welcome.
@blackisblack22
@blackisblack22 11 ай бұрын
I have a table with 4 rows defined as id (1..4) and a few columns with data. Each row launches an ole db source which reads the data in its corresponding row and makes a particular query to the database. What is the best way to run all four processes in parallel?
@learnssis
@learnssis 11 ай бұрын
1. I will create a new sql table with column as Id. At a time it will have only 1 record and the value of Id can be updated by our process. I will insert 1 record to this table. 2. I will make an SSIS package which can get the current id from the sql table we just created. And now this package can makes a particular query to the database according to the id in the new table. 3. I will make a parent ssis package and will use the foreach loop container with ado enumerator. 4. In the select query we will select all ids from your table and will assign the result set to the object variable. 5. Now will use the foreach loop container with ado enumerator and will create a new ssis variable Id of int32 type. 6. will update the existing value of id in the new table by the id that we got in the ssis variable inside foreach loop container, we can use the execute sql task for this. 7. Now we will create a sql agent job and will call the ssis package from sql agent job. This is a one time task. 8. Now in the foreach loop container after updating the id in 6th step, at the next step we will call the sql agent job that we created in step 7. 9. This will kick of the ssis package and it will get the id from new table that we created. 10. Now in next iteration, it will update another id to the new table that we created and in the next step it will again call the sql agent job using the sql query and which will call the ssis package and the ssis package will pick the id from the new sql table.
@blackisblack22
@blackisblack22 11 ай бұрын
@@learnssis Thank you very much for you kind response. The control table is already populated with 4 records wich will be read all at once, maybe using a script task. I was thinking in some kind of a split in the control flow tab instead of foreach but i’m sure that’s not possible. Maybe the foreach approach would be the only way to accomplish the task giving up parallelism.
@learnssis
@learnssis 11 ай бұрын
@@blackisblack22 I know there is some threading available in C# but I have not used that much, so not sure how we can implement that.
@sameerunawane
@sameerunawane 9 ай бұрын
sir suppose i have duplicate records and i want to assign unique key to all those records. how to handle this in SSIS because all are needed
@learnssis
@learnssis 9 ай бұрын
just add an identity column to the sql table. alter table tablename add Id int identity
@sameerunawane
@sameerunawane 9 ай бұрын
@@learnssis the query from which i am fetching records is a cte. the result changes everytime.so will the package be able to identify the pre-existing records
@learnssis
@learnssis 9 ай бұрын
@@sameerunawane it does not matter whether it is a normal query or a cte, it will always get the current data in SSIS whatever data you will get when running the query on sql server management studio.
64 How to restart ssis package from point of failure
12:50
Learn SSIS
Рет қаралды 2,5 М.
77 How to execute multiple child packages from parent package
16:08
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
43 Error handling in SSIS | How to handle errors in SSIS
16:34
Learn SSIS
Рет қаралды 24 М.
62 How to do performance tuning in SSIS
12:27
Learn SSIS
Рет қаралды 4,7 М.
Fastest Way to Learn ANY Programming Language: 80-20 rule
8:24
Sahil & Sarra
Рет қаралды 950 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
Вся база SQL для начинающих за 1 час
1:19:48
Vlad Mishustin
Рет қаралды 364 М.