title: How to create the file in azure storage blob using SQL Server
body: <p>I am looking for an approach to create the file in the azure blob storage using SQL server Stored procedure.</p>
  
  <p>I tried to use below approach</p>
  
  <pre><code>CREATE CREDENTIAL indcredential   
  WITH IDENTITY= 'storage account name', -- this is the name of the storage account you specified when creating a storage account   
  SECRET = 'key1'
  
  BACKUP DATABASE ILS
  TO URL = 'blobpath/dbbackup.bacpac' 
  /* URL includes the endpoint for the BLOB service, followed by the container name, and the name of the backup file*/ 
  WITH CREDENTIAL = 'indcredential' ;
  /* name of the credential you created in the previous step */ 
  GO
  </code></pre>
  
  <p>Using the above code , I am able to create the db backup file dbbackup.bacpac in azure storage. </p>
  
  <p>Any idea how to create the simple text file in azure blob path ? </p>