Red Gate forums :: View topic - Create a database script.
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Compare 10
SQL Compare 10 forum

Create a database script.

Search in SQL Compare 10 forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 12 Jun 2012
Posts: 2

PostPosted: Tue Jun 12, 2012 4:08 pm    Post subject: Create a database script. Reply with quote

I'm trying to use SQLCompare to create a script of a current database but don't appear to be able to get it to work to produce the script as one script rather than all the objects as an individual script for each object.

There doesn't appear to be any option to make this possible ?
Back to top
View user's profile Send private message

Joined: 16 Jun 2010
Posts: 1144
Location: My desk.

PostPosted: Thu Jun 14, 2012 7:03 pm    Post subject: Reply with quote

Thanks for your post.

If you're using the "make scripts" option, this is to create a set of scripts that represent a database for further comparisons.

If you compare to a blank database, then it will generate one script to create all the objects; but the database needs to exist to begin with. There's nothing to stop you editing the generated script to include the create database command at the beginning though.

Depending on what you're trying to achieve, you may also want to look at SQL Packager - this can generate an .exe you can run to create a database.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group