2

We have hundreds of locations where our software is installed, and it used to use SQL 2005 Express. As part of an upgrade to our software, we are doing an automated upgrade to the DB Engine to SQL 2008 Express, but we are not upgrading the Client Tools; in fact many of our locations don't even have Client Tools installed, just the DB Engine.

I'm wondering, is SQLCMD packaged and upgraded with the DB Engine? If it is not, and only included with Client Tools (i.e. SSMS), then I think even if our locations had the SQL 2005 Client Tools installed they couldn't connect to the SQL 2008 DB Engine (I know SQL 2005 SP2 Update 5 and above can connect to a 2008 DB Engine, but I don't think these locations have the updates).

I've looked for documentation, but nothing seems to say if SQLCMD is upgraded with the DB Engine or the Client Tools.

Thanks!

1 Answer 1

4

EDIT: I am pretty sure it's included in the Database Engine installation. Peter seems to think so too, from the comments. That was my original answer.


However, documentation is a funny thing. Microsoft says that it's included in "Management Tools - Basic", per this page:

http://technet.microsoft.com/en-us/library/ms144259.aspx

The section reads:

Installs SQL Server Management Tools – Basic.

This includes the following:

  • SQL Server Management Studio support for the SQL Server Database Engine, SQL Server Express, sqlcmd utility, and the SQL Server PowerShell provider

Here is a screen capture to prove it (in SQL Server 2012).

SQLCMD is part of the Management Tools


There's an alternative to all of this, because SQLCMD can be installed on its own. You can get the Microsoft SQL Server Command Line Utilities (latest one is version 11) from here.

4
  • Awesome, thank you! Do you know if there's any documentation that says this? I believe you of course, but it would be nice to show my boss some documentation. This means we could skip upgrading Client Tools and still be able to use SQLCMD if we need direct DB access.
    – Jim
    Oct 9, 2013 at 19:02
  • I was wrong. Please note my revised answer, with formal documentation as requested, plus a link to download SQLCMD on its own.
    – user3463
    Oct 9, 2013 at 20:19
  • @RandolphWest - At least for 2008 R2, if you install without the Management Tools Basic, you still get sqlcmd.exe, I've done that many times on Windows Server Core machines and use sqlcmd there all the time. I will check about this for 2012. Oct 9, 2013 at 20:35
  • I've edited the answer AGAIN to say that both possibilities are correct. Thanks for your input. If you have anything to add, please feel free.
    – user3463
    Oct 9, 2013 at 20:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .