1. SQL Packager 7 Documentation
Total Page:16
File Type:pdf, Size:1020Kb
1. SQL Packager 7 documentation . 2 1.1 Requirements . 3 1.2 Installing . 4 1.3 Licensing . 5 1.3.1 Activating . 6 1.3.2 Deactivating . 12 1.3.3 Troubleshooting licensing and activation . 15 1.4 Upgrading . 18 1.4.1 Using Check for Updates . 19 1.4.2 Troubleshooting Check for Updates errors . 21 1.5 Creating the package . 22 1.5.1 Working with projects . 23 1.5.2 Choosing a project type . 24 1.5.3 Specifying the package contents . 25 1.5.4 Previewing the SQL scripts . 31 1.5.5 Generating a package . 33 1.5.5.1 Generating a .NET executable . 34 1.5.5.2 Generating a C# project . 36 1.5.6 Entering extra package information . 38 1.6 Running the package . 40 1.6.1 Understanding the results . 43 1.7 Setting packaging options . 45 1.7.1 Setting schema packaging options . 46 1.7.2 Setting data packaging options . 51 1.7.3 Setting SQL Packager options . 54 1.8 Using the command line . 55 1.8.1 Basic command line features . 56 1.8.2 Examples using the command line . 58 1.8.3 Frequently asked questions for the command line . 59 1.8.4 Integrating the command line with applications . 60 1.8.5 Using XML to specify command line arguments . 61 1.9 Worked examples . 62 1.9.1 Packaging a database as a .NET executable . 63 1.9.2 Packaging an upgrade as a C# project . 68 1.10 Getting more out of SQL Packager . 73 1.10.1 Upgrading the database structure and data . 74 1.10.2 Upgrading databases on different SQL Server versions . 75 1.10.3 SQL comparison and synchronization automation capabilities . 76 1.11 Troubleshooting . 77 1.11.1 Common issues . 78 1.11.1.1 SQL Packager cannot connect to the SQL Server . 79 1.11.1.2 Missing tables in Packager Wizard . 81 1.11.1.3 Identity columns created or upgraded even though they are excluded . 82 1.11.1.4 Identical CLR data is flagged as different . 83 1.11.1.5 CLR data has not been upgraded . 84 1.11.1.6 SQL Packager sometimes creates DLL files with the executable . 85 1.11.1.7 Creating a database for an earlier version of SQL Server . ..