SQL cmd--help

  • Hi,

    I am using the Microsoft SQL Server 2005 - 9.00.1399.06 (Intel X86) Oct 14 2005 00:33:37 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 2) version.

    Whenever I execute the SQLCMD command from the command line my machine is getting shutdown.

    Here is the command which I am executing:

    sqlcmd -H swati -S swati -U sa -P sasa123 -d AdventureWorks -i "D:\Users Home\Swati\Apex\test.sql"

    the script inside the sql file :

    USE AdventureWorks

    UPDATE HumanResources.Employee

    SET Title='Tool Designer'

    WHERE EmployeeID=5

    My machine's os is windows xp professional version 2002 with service pack2

  • Anything in the eventviewer? Sounds like the machine has crashed so points to corrupted installation

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply