I found an article that describes several command-line utilities that can automate SQL Server tasks.

These commands include:

  • isql
  • osql
  • bcp - bulk data copy
  • dtsrun
  • dtswiz
  • itwiz - Index Tuning Wizard
  • We use a couple of these commands at my current client as part of our build/migration process.