You may need to think about inserting its results into a temporary or permanent table in your database directly.
Or using ADF, you can create a new dataset that represents the temporary or permanent table where your stored procedure outputs its data :
- Create another dataset for the SQL table
[User].[dbo].[Custom.In.Details]
. - Then use a Join transformation to join these two sources on
CustomID = ID
. Set the join type toInner Join
. - Add a Filter transformation to include only rows where
InOrOut = 'I'
Keep in mind that you can execute your stored procedure before the data flow by configuring a pipeline with an Execute SQL activity to run the stored procedure before your Data Flow activity.
Make sure that the execution order is enforced by linking the activities correctly with success dependencies.