Run sqlcmd.exe without having SQL Server installed on Windows Server 2008

  1. Go to www.microsoft.com/en-us/download/details.aspx?id=26728
  2. Install Microsoft® SQL Server® 2008 R2 Native Client
    (1033\x86\sqlncli.msi  or 1033\x64\sqlncli.msi)
  3. Install Microsoft® SQL Server® 2008 R2 Command Line Utilities
    (1033\x64\SqlCmdLnUtils.msi or 1033\x86\SqlCmdLnUtils.msi)
  4. sqlcmd in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\

沒有留言:

張貼留言