How is Sqlcmd Different from Osql ?

SQLCMD utility is a command prompt utility to run ad-hoc T-SQL statements and scripts. You can also run sqlcmd interactively. SQLCMD is your new choice for scripting with SQL Server. There are interesting extended options that make SQLCMD worth using – like using the –A for DAC connections.



You May Interest

Disable All Triggers in MS SQL Server Table

What is TABLESAMPLE in SQL Server ?

What is the Difference Between UNION and UNION ALL in SQL Server ...

What is Blocking in SQL Server ?

Which TCP/IP Port Does the SQL Server Run On ?