title: sql server export data tier application
body: <p>I am working on SQL Server 2012 and 2014, I want to generate database's <code>.bacpac</code> file through <code>Export data-tier application</code> wizard we can generate the file and import on another server.</p>
  
  <p>Is it possible to generate the <code>.bacpac</code> from Tsql (SQL query) syntax?</p>