Skip to content

melvinlee/SQLCmdTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

SQLCmdTools

A little helper to execute .sql file in batch.

Import Module

Import-Module .\SqlCmdTools.psm1

Usage

To execute all .sql in given directory

Invoke-SqlCmdScript -Path <path> -Server <server> -Database <database>