sqmcmd running standalone?

Posted on 2011-05-03
Last Modified: 2012-05-11
I have two PC's on the same intranet, physically on top of each other actually, one is running SQL Server 2005 Standard edition, the other has no database server. Both are Windows 2003 Server.

I wonder if it's possible to put a "standalone" copy of SQLCMD on the application server such that it can execute scripts against the DB server on the other box?

Question by:PMH4514
    LVL 142

    Accepted Solution

    you install the client tools of the sql 2005 installation.

    Author Comment

    ahh that is all? There is no conflict then? I guess I wasn't aware you could install client tools only.

    I wonder - can I install the SQL Server 2005 Express Edition client tools instead of the standard edition?
    LVL 9

    Assisted Solution

    Download and install SSMS Express or if you have the Installation DVD for Standard edition, install only Management tools.

    Express is here to download

    Author Comment

    err, wait I think I mis-read.

    I believe the client tools are installed on the SQL 2005 Installation.

    How does that give me the ability to run SQLCMD from the command line prompt of the box that does not have SQL Server installed on it?

    Or did you mean to say I should install the client tools on the NON database server?
    LVL 9

    Expert Comment

    You can only run sqlcmd from a computer that has the SQL Server client tools installed. So install client tools on the other computer then you can use SQLCMD

    Author Comment

    I see thank you!

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
    In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
    This video discusses moving either the default database or any database to a new volume.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now