Creating a new Database with SQL Packager

Packages and compresses schema and contents of SQL Server databases

Moderators: JonathanWatts, Chris Auckland, David Atkinson, david connell, Anu Deshpande, Michelle Taylor, james.billings, Marianne

Creating a new Database with SQL Packager

Postby DavidStein » Mon Dec 03, 2012 10:07 pm

So, I am using SQL Packager 6.6 and trying to package a database as a script. I think I am filling out the wizard correctly, including all objects, etc.

However, the script does not include the Create Database statement. Am I doing something wrong?
DavidStein
 
Posts: 4
Joined: Mon Oct 01, 2012 4:32 pm

Postby Manfred.Castro » Tue Dec 04, 2012 11:40 pm

SQL Packager will package a database as a exe or a c# project.

The scripts generated do not include the create statement because the name of the database to be created is not supplied until the package is run.
Manfred Castro
Product Support
Red Gate Software
Manfred.Castro
 
Posts: 209
Joined: Mon Apr 23, 2012 2:49 pm


Return to SQL Packager 6

Who is online

Users browsing this forum: No registered users and 0 guests