title: Upload SQL Database from Azure Blob Azure to Sql Database
body: <p>I want to transfer .bacpac database from Azure Blob Storage to Azure SQL Database. I am using <code>sqlpackage.exe</code> using import command as</p>
  
  <blockquote>
    <p>sqlpackage.exe /a:Import /sf:&lt; Azure Blob .bacpac file > /tsn:&lt; Azure Server Name > /tdn:&lt; target databse name > /tu:&lt; target database user name > /tp:&lt; target database password ></p>
  </blockquote>
  
  <p>But this command giving error as</p>
  
  <blockquote>
    <p>"Could not load package from . File format not supported". </p>
  </blockquote>
  
  <p>Please note while giving local file(.bacpac file in same system as sqlpackage)in /sf field, it works  fine.</p>
  
  <p>---Edit---</p>
  
  <p>More detail: I want to upload .bacpac file into Azure DB using nodejs code. So the only option I came up is upload user's .bacpac file to Azure blob and then call a custom script containing sqlpackage.exe command in configured azure Windows Server to transfer this uploaded bacpac to Azure DB. It would be helpful if you can provide any feasible solution for this scenario other than I figured out.</p>