Sqlcmd is one of the command line utilities included with SQL Server 2005. It was designed for executing SQL scripts and replaces the osql utility that came with previous versions of SQL Server.

This story continues at http://www.databasejournal.com/news/article.php/3730031