Difference between Script Task and Script Component
S_no
Script Task
The Script Task
executes the script
only once for each
execution instance of
the task
Script component
the Script Component generally
executes
the script for each row,
as it applies the custom transformation
on each of the data row reads.
The Script Component works
The Script Task is
in the pipeline or the Data Flow Task.
available in the
Control Flow task tab
You can choose Script
Component as a
Source, a
transformation, or a
destination
The Script Task
supports breakpoints
The Dts property works
with only the Script
Task
The Script Task does not provide any
such facility,
as the code generated is always the same.
Script Component does not support
breakpoints.
it is not available in the Script
Component