Ispirer Website Ispirer Capabilities - Microsoft SQL Server Migration Free Trial

'sqlcmd.exe' is not Recognized as an Internal or External Command, Operable Program or Batch File

Symptoms

During the import to SQL Server when the DDL statements are loaded to the database using the sqlcmd command line tool the following message arises: “'sqlcmd.exe' is not recognized as an internal or external command, operable program or batch file.”

Cause

There may be several causes of the issue:

Solution



In this case the command for the DDL import will be created using the SQL Server 2000 isql.exe tool, which is replaced with the sqlcmd.exe tool in the SQL Server 2005 and higher. So, in this case just specify the correct version of the target database and the import will work correctly.