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

How is Auditing Different From Change Data Capture in SQL Server?

What is the Filtered Index in SQL Server ?

Making a Backup of MS SQL Database With Query

Using MS SQL TOP

MS SQL Finding Which Tables a Column Name is In