I have a stored procedure with a parameter DateTime
on ADF, and now I need to convert my parameter as a .JSON
file that stored at Blob Storage.
My question is, is it possible to use JSON
file on Azure Blob Storage? Because on Azure Data Factory I seen there were JSON
option on dynamic content
.
If it is possible, is there any different parameter usage on my Stored Procedure SQL Script
? and how to call my JSON
file to my pipeline? Do I need to specified my JSON
folder on blog storage?
This is what I think, from this
To this
We can use Lookup activity to find the value in a json file, then output the value to a variable in ADF.
{
"intial_date":"2020-01-07",
"end_date":"2020-01-07"
}
This is my stored procedure:
CREATE PROCEDURE dbo.test
@end_date SMALLDATETIME, @initial_date SMALLDATETIME, @datediff INT
as
begin
print(@end_date)
print(@initial_date)
end
end_date:
@activity('Lookup1').output.firstRow.end_date
initial_date:@activity('Lookup1').output.firstRow.initial_date
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.