mssql-cmd - SQL Server interactive and batch query command-line tool »

Download mssql-cmd Free Trial »

Execute sql command

Support select,insert,update,delete,create,drop,alter,truncate.

example:


You can use /g to display fetch result vertically.

example: