Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to use he SQLpackage command-line utility (sqlpackage.exe) on a SQL server, but I cannot find it anywhere online. Is it something that I can download as a standalone utility, or is it part of some greater software bundle that I have to install?

share|improve this question

3 Answers 3

up vote 6 down vote accepted

It's included in the "SQL Server Data Tools" from Microsoft.

SQL Server Data Tools proves command-line tools that enable a number of project-oriented database development scenarios.

More info from MS here.

You can download the "SQL Server Data Tools" from MS here.

share|improve this answer
Is there a version which doesnt come with visual studio ? –  Saint Gerbil Mar 31 at 14:22
@SaintGerbil I'm not sure what you mean? The downloads on the linked page do not include Visual Studio. –  Ƭᴇcʜιᴇ007 Mar 31 at 14:51
On installing "SSDTSetup.exe" you get an error towards the end "this application requires Microsoft Visual Studio. Install Microsoft Visual Studio and run the installer again." where I want to install it on a server which has a SQL 2008 R2 and no VS so I want to be able to run the tools (like sqlpackage.exe) without all the designer files. –  Saint Gerbil Apr 1 at 8:50

The following StackOverflow answer gives full details of the various ways you can obtain the latest version of SqlPackage, which works with SQL Server 2005-2014, and where to find it once it's installed:

To quote:

Yes, there is a new version supporting SQL Server 2005-2014 available and it installs into a different location than the previous (SQL Server 2012 and lower) version. In fact, you'll have different install locations depending on if you just use SSDT or if you install it as part of SSMS or the standalone installer.

  • SSDT installs the Dac DLLs inside Visual Studio in the latest releases. This is to avoid side by side issues (Visual Studio 2012 vs 2013 vs SSMS) that required all to be updated to use the latest code.

    • If you have updated to the latest SSDT, you'll find SqlPackage.exe and the related DLLs in the VS Install Directory\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\120. For VS2013 the VS install directory is C:\Program Files (x86)\Microsoft Visual Studio 12.0.
  • SSMS for SQL Server 2014 and the standalone Dac Framework MSI both install to the system-wide location. This is C:\Program Files (x86)\Microsoft SQL Server\120\Dac\bin.

share|improve this answer

Be warned, this utility is SQL server version specific.

When (if) this is installed it will be found in the 'DAC\bin' subfolder of your SQL server install. So for SQL Server 2012 this will be in:

C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin

SQL Server 2012 has internal version 11.0 and SQL Server 2014 has internal version 12.0. So for SQL Server 2014 you find SqlPackage here:

C:\Program Files (x86)\Microsoft SQL Server\120\DAC\bin
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.