Home Forums SQL Server 2005 Development execute SQL server query from Dos command prompt/ batch file. RE: execute SQL server query from Dos command prompt/ batch file.

  • He is correct - use SQLCmd (it is the new version - I forgot I was in the 2005 forum).

    Books Online has this well documented.