Option to create batch seperator (GO) between statements
It's currently not possible, to create definition files which separate different batch statements with a batch separator (GO). I would create a pull request to implement that, but im not sure, how I should go about creating an option for this use case.
If you can give me a little input how I should do that (maybe similiar to the --scriptAllDefinitions Parameter?) i would create a pull request for this.
Regards Max
I have created a fork with this change at https://github.com/grijal/dbup-sqlserver-scripting. Can I create a pull request?
@grijal Sure, I took a look and that looks like a good change. Feel free to create a PR.
I'd actually think it would be cleaner to create a new flag "ScriptBatchTerminator" in the Option class itself. ScriptingOptions is a Microsoft class and provides many different flags which aren't checked inside the dbup scripter, which could lead to confusing behavior. Otherwise that's basically what I had in mind