Azure Data Factory - Stored Procedure Activity Parameters

Felipe Chã 1 Reputation point
2022-07-18T10:12:14.83+00:00

I have a stored procedure activity being created in Python SDK as a part of my pipeline. When I pass the parameters of the Stored Procedure via StoredProcedureParameter class, only the value and the type of the parameter are accepted, not the name. Besides the parameters are being correctly created, none of them have name. Can anyone help me with this subject?

Ps: already read the documentation and tried to pass as a dict. did not work. thank you!

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,556 Reputation points Microsoft Employee Moderator
    2022-07-19T09:16:11.107+00:00

    Hi @Felipe Chã ,

    Thank you for posting query in Microsoft Q&A Platform.

    Sorry but your ask is not clear. Which activity you are using here in ADF Pipeline? Is it stored procedure activity?

    Please note, Stored procedure activity invokes stored procedures of following data stores. Click here to know more about stored procedure activity.

    • Azure SQL Database
    • Azure Synapse Analytics
    • SQL Server Database

    If you are looking for running Python from Azure data factory, then you should consider using Custom activity. Click here to know more about this.

    Below thread has similar discussion. Kindly check.
    https://learn.microsoft.com/en-us/answers/questions/670411/how-to-run-python-scripts-on-adf-with-input-from-s.html

    Hope this helps. Please let us know if any further queries.

    -------------

    Please consider hitting Accept Answer button. Accepted answers help community as well.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.