We are working with Azure Data Factory and there is this pipeline in which I am trying to check the response of an API which reports a pipeline status. If it returns 'InProgress', I want to wait for some time before doing the same thing until the status is either 'Succeeded' or 'Failed'. I can easily achieve this in ADF but we are being asked to reduce the pipeline cost to as low as possible. I have done some research and found that implementing a wait functionality in SP compared to the Wait-Until construct in ADF is significantly cheaper (Stored Procedure activity being an external activity). And thus, I am interested to see how to achieve this in stored proc.
Invoking REST API through SQL Stored Proc
436 Views Asked by SouravA At
1
There are 1 best solutions below
Related Questions in STORED-PROCEDURES
- Calling a REST API from SQL Server
- Updating Access Database using C# and stored procedure does not work
- How to load csv data to mysql table using mysql stored procedure
- Why are encrypted stored procedures taking a long time to execute in SQL Server 2022?
- switch from current encoding to specified encoding is not supported
- Get merge WHEN NOT MATCHED output into another table
- Parmeter values not resolving in ADF
- Creating a stored function on SQL of average scores, error code 1064
- value for insert on a procedure call is taken as column name generating an error that reports such column doesn't exist
- Stored Procedure to Update Column in TableA to TableB Value +1 For Each Change In The Column
- CallableStatement for DB2 StoredProcedure throws BadSqlGrammarException - Descriptor index not valid (10>9)
- How to call a stored procedure from Spring Data JPA and map the result to a custom object without having a corresponding entity?
- ORACLE: Build 'INSERT INTO' statements from 'SELECT *' results
- SQL Tranformations in view or stored procedure?
- How to add conditions to WHERE clause with if...else in SQL?
Related Questions in AZURE-SQL-DATABASE
- Driver com.microsoft.sqlserver.jdbc.SQLServerDriver claims to not accept jdbcUrl, ${SPRING_DATASOURCE_URL}: GitHub Actions
- Tools for fast aggregation
- Hoiw can i remove all ip addresses from Azure SQL Server Firewall Rules , but still login via SSMS?
- Small percentage of parameters cause very slow queries
- Azure Functions v4 in Private vNet Cannot Connect to Azure Sql
- Does bcp utility support Token based Authentication? If yes, I would like to know the process and which version of bcp to be used
- "Error: Could Not create constraint or index. see previous errors" with nest js and AzureSql
- Recreating an existing edmx in Visual Studio Code for Azure Function
- How to use parameter in Azure sql_input with LIKE SQL command
- How to Process a CSV File from Power Apps/Automate into SQL Server
- Unable to connect to Azure SQL from Azure Data Factory
- Table gets promoted with no data to Prod for Azure SQL database through Azure DevOps
- System Assigned identity failed to connect to SQL Server database
- Optimal approach in accessing datalake container with multiple teams?
- Azure SQL support for Delta tables
Related Questions in AZURE-DATA-FACTORY
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Accessing REST API Status Codes using Azure Data Factory Copy Activity (or similar)?
- Use an activity output as the step name to get additional info in ADF
- Exit loop condition when running the synpase notebooks based on metadata dependencies
- Azure Data Factory Copy Activity Only Importing First Row of XML file
- ADF Copy Activity from Source Azure Synapse Analytics Target ADLSGen2 Storage account
- Parmeter values not resolving in ADF
- How to copy XML files in a folder F1 based on whether its content is present on folder F2 (disregarding file names)
- Can I move an Azure Data Factory Pipeline to Azure DevOps?
- tsql functions like REPLACE() failing in azure data factory pipeline connected to salesforce
- Get the URL from C# script used in ssis
- Reading Unstructured Text from the entire file in Azure Data Factory
- Unable to PUT JSON using ADF Dataflow, the error is "the JSON value could not be converted to System.Collections.Generic.List"
- Manipulating Json in Azure Data Factory activities
- Couchbase Connector in ADF
Related Questions in STORED-FUNCTIONS
- Unable to execute mysql script - 'CREATE FUNCTION' or 'CREATE TRIGGER' via Python
- javascript stored procedure in snowflake logic
- I want to create a local language dictionary
- Create a stored procedure in Starburst Enterprise
- How to Return Commutative Sum of specific INT Column's Values?
- PostgreSQL: ERROR: query returned 2 columns
- Why do functions in MySQL not allow transactions to be committed?
- MySQL/MariaDB Create multiple inserts from function
- Can I use prepare statement to create function and stored procedures in mysql?
- How can I fix my Function to show different results?
- Does stored function roll back the entire transaction?, is there an error in the documentation?
- Atomicity of stored functions
- Stored Function and dynamic where clause and json_object error fix
- How to return 2 items from 2 different tables within 1 query in Spring JPA?
- get stored data from sharedpreferences flutter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can leverage Azure SQL Database External REST Endpoints Integration My blog : https://datasharkx.wordpress.com/2022/12/02/event-trigger-azure-data-factory-synapse-pipeline-via-azure-sql-database/ wherein directly access the API via Azure SQL database within an SP.
My sample blog for some other use case: https://datasharkx.wordpress.com/2022/12/02/event-trigger-azure-data-factory-synapse-pipeline-via-azure-sql-database/