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

Getting the Id of MS SQL Server Last Entered Record

What are Table Valued Parameters ?

How is Change Tracking is Different From Change Data Capture ?

What is the Merge Statement in SQL Server ?

List of Table Columns Used in Any View in MS SQL