Skip to content

r0bturner/Gus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use Gus to run sql scripts against a database. Gus keeps a history of scripts which it has applied so only new scripts are run.

Some Command Line Examples:

Apply sql scripts against your database

Gus.exe apply /source="C:\MyScripts" /server="." /database="AdventureWorks"

If scripts have already been applied manually you can use Gus to record the latest

Gus.exe apply /source="C:\MyScripts" /server="." /database="AdventureWorks" /recordonly=True

If using SQL Server Authentication you can specify a username and password

Gus.exe apply /source="C:\MyScripts" /server="MyServer" /username="Admin" /password="pa$$word" /database="AdventureWorks"

List the SQL scripts not yet applied

Gus.exe status /source="C:\MyScripts" /server="." /database="AdventureWorks"

About

SQL Server Script Runner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%