- Event handlers.…SSIS has built in a number of event handlers,…so that when a certain event occurs,…it is raised and then SSIS can subscribe…to that event that has been notified,…the event has been raised,…and then take some kind of an action.…This allows us to take a task…and then move the execution,…depending on what event was raised into another flow.…Let me show you.…I have two script tasks set up here,…very simple, one just to succeed,…and one with my standard failure in here.…
Then I went over to the Event Handler tab,…and I created event handlers.…So here, on Script Succeeds executable,…right here,…I have the event OnError,…if the event OnError happens,…then this Script Task will run, else it will not.…I've created two other event handlers,…and I have one for Script Fails.…On the Script Fails, if I subscribe to the OnTaskFailed,…this task will fail, it's designed to fail,…then this Script Task will run.…
So I would have a whole different set of executions.…I also have set one up for the Package,…so that when the Package finishes, and it's OnPostExecute,…
Author
Released
2/3/2015- Creating SSIS packages
- Coding and looping tasks
- Managing and administering SQL with SSIS tasks
- Optimizing data for extraction
- Making packages dynamic with variables and parameters
- Using sequences in a container
- Performing joins
- Handling errors
- Working with XML
Skill Level Intermediate
Duration
Views
Related Courses
-
Querying Microsoft SQL Server 2012
with Gerry O'Brien5h 34m Beginner
-
Introduction
-
Welcome1m 7s
-
Using the exercise files16m 23s
-
-
1. Architecture
-
Understanding packages6m 50s
-
Managing with control flow6m 46s
-
Moving data with data flow4m 12s
-
Understanding variables7m 7s
-
Understanding parameters7m 18s
-
2. SQL Server Integration Services Tools
-
3. SQL Server Integration Services Tasks
-
Coding the Script task3m 10s
-
Looping and Sequence tasks5m 25s
-
Data Preparation tasks12m 49s
-
Using the Workflow tasks7m 42s
-
-
4. Data Flow
-
5. Variables, Parameters, and Expressions
-
6. Performing Joins
-
7. Debugging SQL Server Integration Services Packages
-
Using events3m 47s
-
Working with logging4m 36s
-
Handling errors6m 20s
-
8. Common Designs in SQL Server Integration Services
-
Working with XML7m 35s
-
Deployment2m 29s
-
Best practices3m 29s
-
Conclusion
-
Where to go next37s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Using events