SQL Server Integration Services Design Patterns
SQL Server Integration Services Design Patterns
SQL Server Integration Services Design Patterns
Second Edition
Andy Leonard
Tim Mitchell
Matt Masson
Jessica Moss
Michelle Ufford
Apress*
Contents
J
First-Edition Foreword xv
sys.dm_os_performance_counters 3
sys.dm_db_index__usage_stats 3
sys.dm_os_sys_info 3
sys.tables 3
sys.indexes 3
sys.partitions 4
sys.allocation_units 4
Metadata Collection 14
Summary 26
28
Debug Execution
Command-Line Execution 29
v
CONTENTS
Running SQL Server Agent Jobs with the Custom Execution Framework 55
ThefrmMain Form 59
Conclusion 70
The Toolset 71
Code Reuse 78
Source Control 79
Variables 82
Naming Patterns 85
Conclusion 85
CONTENTS
Setting Up a Source 87
ADO.NET 89
ODBC 89
OLE DB 91
Data Translations 97
Source Assistant 97
Summary 99
121
Approving and Importing Cleansing Rules
Conclusion 123
125
^Chapter 6: DB2 Source Patterns
DB2 Database 125
Family
DB2 Provider 126
Selecting a
vii
CONTENTS
Summary 133
Summary 169
viii
CONTENTS
Prerequisites 178
Multithreading 189
Limitations 190
Summary 191
Conclusion 212
Limitations 215
ix
CONTENTS
Conclusion 226
Conclusion 250
X
CONTENTS
Conclusion 260
Conclusion 272
Conclusion 280
xi
CONTENTS
Patterns 281
Chapter 15: Logging and Reporting
281
Package Logging and Reporting
281
Setting Up Package Logging
282
Reporting on Package Logging
283
Design Pattern: Package Executions
283
Catalog Logging and Reporting
283
Setting Up Catalog Logging
285
Catalog Tables
Fact 286
Changing Logging Levels After the
287
Design Patterns
Changing the Logging Level 287
289
Using the Existing Reports
291
Summary
295
Configure Parameter Binding
Conclusion 303
Parameters 305
xii
CONTENTS
Conclusion 329
Conclusion 341
xiii
CONTENTS
Conclusion 368
Summarizing 376
Conclusion 434
Index 435
xiv