Basic T-SQL code generation for some frequently used commands.
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
LICENSE Initial commit Feb 1, 2018
MERGE.ps1 Added indention parameter, defaults to 4 spaces Feb 11, 2018 Updated README (again) Feb 1, 2018


This repo is for PowerShell cmdlets to generate T-SQL code. There are a few T-SQL commands with tricky syntax that become cumbersome to repeatedly write.

Though the MERGE statement has caveats in it's usage, documented in this blog post by Aaron Bertrand, under the right circumstances I find it a very useful tool.

For now, the MERGE cmdlet is a plain ps1 file. If I add another function, I will turn it into a module.

I hope you find this useful.