Feature Consideration Request
Brian Donahue
Posts: 6,590 Bronze 1
Hello,
You can add an ExecuteSQL statement inside the PackageExecutor.cs file in the SQL Packager Code Templates\c# project to make every package that you create run the SQL before and/or after running the migration script in the package.
I'll be the first one to admit that this is a less-than-elegant solution, so I've brought up your suggestion to be able to specify a SQL script to run in your package when you create one.
You can add an ExecuteSQL statement inside the PackageExecutor.cs file in the SQL Packager Code Templates\c# project to make every package that you create run the SQL before and/or after running the migration script in the package.
I'll be the first one to admit that this is a less-than-elegant solution, so I've brought up your suggestion to be able to specify a SQL script to run in your package when you create one.
This discussion has been closed.