title: How to pass filename as parameters to Stored procedure in Azure Logic Apps
body: <p>I am currently using Azure Logic App, Blob storage and stored procedure in Azure SQL. I am trying to upload a csv present in container in Blob storage to SQL Azure using steps in Logic Apps. Currently the stored procedure has hard coded name of CSV file present in Blob storage and the stored procedure uses Bulk Insert SQL command. All this is working fine.</p>
  
  <p>I now need to generalize my Stored procedure, so that when Logic App runs it should look at the Blob storage and pick the whatever file name is there (it is guaranteed to have CSV extension) and pass it as a parameter to Stored Procedure for bulk insert of data present in CSV to Azure SQL.</p>
  
  <p>Please help.</p>
  
  <p>Thanks</p>