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

Benefits of Using Stored Procedures in MS SQL

Changing MS SQL Table Name with Query

What are the Events On Default Trace in SQL Server ?

MS SQL Show Only Date of Current Time

What is Resource Governor in SQL Server ?