Hello David Lang,
Welcome to the Microsoft Q&A forum.
If you want to move the logic of the SQL stored procedures to ADF, you can use Mapping Data Flows in ADF. Mapping Data Flows is a visual data transformation tool that allows you to build data transformation logic without writing any code. You can use it to perform complex data transformations, including joins, aggregations, and conditional logic.
To implement a basic UPDATE
SQL query in ADF that joins two tables and updates rows in one table based on values in the other table, follow these steps:
- Create a new Mapping Data Flow in your ADF pipeline.
- Add two source transformations to your data flow, one for each table you want to join.
- Add a Join transformation to your data flow and configure it to join the two tables based on the common column(s).
- Use the Derived Column transformation to create or modify columns based on your business logic. Ensure you maintain the existing columns you want to update.
- Add a Sink transformation to your data flow and configure it to specify the destination for the transformed data. Configure the Sink to perform an upsert or overwrite operation to update existing rows.
- Test and debug your Data Flow to verify the transformations work as expected.
https://learn.microsoft.com/en-us/azure/data-factory/data-flow-derived-column
I hope this helps.