sqlcmd
sqlcmdMicrosoft's command-line tool for querying and managing SQL Server.
Microsoft's command-line tool for querying and managing SQL Server.
sqlcmd itself-S<server>-d<database>-U<user>-E-G-C-Q<query>-i<input_file>-o<output_file>-b-W-s<separator>