Multiple choice technology databases

Which SQL Server 2005 tool helps in running T-SQL queries from command prompt?

  1. (a) DTUTIL

  2. (b) BCP

  3. (c) Object Explorer

  4. (d) None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

SQL Server 2005 provides sqlcmd (the successor to osql) for running T-SQL queries from the command prompt. DTUTIL is for SSIS packages, BCP is for bulk data import/export, and Object Explorer is a GUI component in SSMS. Since sqlcmd isn't listed, 'None of the above' is technically correct given the options.