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

What is the Maximum Number of Columns a Table in SQL Server ?

Using MS SQL WHERE

What are the Events On Default Trace in SQL Server ?

Getting List of MS SQL User-Created Tables

Disabling All Constants in a Table in MS SQL