You decided to write your query in VI (a UNIX text editor). You saved your file. You want to execute it. What are your options?

You decided to write your query in VI (a UNIX text editor). You saved your file. You want to execute it. What are your options?


B - OSQL
C – SQLCMD
D – Powershell

(ISQL existed in previous editions of SQL Server but is no longer supported in SQL Server These commands can be run in the OS’s Command Prompt or SQL Server’s PowerShell.)