https://github.com/binbash23/sql-merge-statement-generator
The idea is, to generate complex and large sql merge statement with a function
https://github.com/binbash23/sql-merge-statement-generator
generate insert merge mergegenerator mergestatement microsoft mssql sql sqlserver update
Last synced: 9 months ago
JSON representation
The idea is, to generate complex and large sql merge statement with a function
- Host: GitHub
- URL: https://github.com/binbash23/sql-merge-statement-generator
- Owner: binbash23
- License: mit
- Created: 2023-08-09T14:44:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T13:24:25.000Z (9 months ago)
- Last Synced: 2025-03-21T14:23:55.859Z (9 months ago)
- Topics: generate, insert, merge, mergegenerator, mergestatement, microsoft, mssql, sql, sqlserver, update
- Language: TSQL
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# SQL-Merge-Statement-Generator
The idea is, to generate complex and large sql merge statement with a function
# Usage
Just copy the contents of the file merge_generator to your sql editor.
Then replace the 2 variables with the target schema and table name.
Run the whole thing. The output contains the generated merge statement where you need to make only litle modifications.
Feel free to contact me for any questions.
Good luck, Jens