I ma trying to create json file from SQL table using ADF through Stored Procedure
Stored Procedue:
SELECT ( SELECT * FROM [dbo].[TEST_TABLE] FOR JSON PATH, INCLUDE_NULL_VALUES ) AS json_file;
I am then trying copy activity where Source is SQL Table and Sink is ADLS json but the o/p is coming as
"json_file":"[{"FIL_PATH":"\/mnt\/test\/\/test_table\/jsonfiles","ACTV_IND":"Y","CREATED_DATE":"2024-04-17T20:56:57.870","UPDATED_DATE":"2024-04-17T20:56:57.870","VB_OCCURS":"N"}]"}
I have eevn tried creating as a comma deleimited file instead of json as sink with the below but still it doesn't help


