Lightweight command-line utility to execute queries on SQL Server in place of SQLCMD
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

SimpleSqlExec is a lightweight tool for running queries on SQL Server. It is not intended to run queries against any other RDBMS. It is mainly intended to replace SQLCMD to use the .NET SqlConnection instead of ODBC, and to have no external dependencies. This can be especially useful when deploying an application with SQL Server Express LocalDB (more info here: Local Data Overview ).

The goal is to provide functionality similar to SQLCMD, but nothing related to being interactive or reporting, etc.

Please see the Wiki for additional details.