Sample XML Files etc.
SB
Posts: 3
Hello,
I am looking for sample XML files to be used with SQL Packager CLI. Essentially, here is what I am planning to do.
- Compare schema between two databases and generate script
- Compare data between two databases and generate script
- Exclude certain tables when comparing Data (e.g. System Tables etc)
- Create an EXE to apply the changes as needed.
- Create a Script File that will list all of the changes that EXE will apply.
I am plannning to automate this so that our nightly builds can pickup the .EXE and merge them in our process as needed. Script file will be used for documentation only.
Thank you.
I am looking for sample XML files to be used with SQL Packager CLI. Essentially, here is what I am planning to do.
- Compare schema between two databases and generate script
- Compare data between two databases and generate script
- Exclude certain tables when comparing Data (e.g. System Tables etc)
- Create an EXE to apply the changes as needed.
- Create a Script File that will list all of the changes that EXE will apply.
I am plannning to automate this so that our nightly builds can pickup the .EXE and merge them in our process as needed. Script file will be used for documentation only.
Thank you.
Comments
This shouldn't be a problem. The following example shows some options you can use with the XML command file to sqlpackager.exe. To create the package, you run sqlpackager.exe /argfile:<name of XML command file>
BTW: Where can I get a list of options? I didn't see them in the help file for CLI.
Thanks.
The help is pretty minimal for the command-line. You'll get the full list of options from SQL Packager itself: