SQL Packager

Latest version: 6.4

SQL Packager

Knowledge Base

Setting the Database Options for a New Database

Category: How do I?
Date: 07 Jul 2009
Product: SQL Packager
When using SQL Packager to package a new database, you will notice that the databases are created with a default options set, rather than the same options as the source database.

The default options used by SQL Packager for a new database are:
· auto create statistics
· auto update statistics

If you want to set options other than the default options, you can add them to PACKAGE_NEW_DBOPTIONS in PackageProperties.resx when you export the package as a C# project, using the built-in Visual Studio resource editor.

The options will need to semi-colon separated, and only options that can be set through sp_dboption are valid. <http://msdn.microsoft.com/en-us/library/aa933268(SQL.80).aspx>

e.g. auto create statistics;auto update statistics;arithabort

Document ID: KB200906000411 Keywords: SQL,Packager,dboptions,options

Was this article helpful?

Search support
Forums
Visit the SQL Packager forum.

SQL Packager

all SQL products

all products