Open Generator Project when no database exists
dan67890
Posts: 21
I can't open a generator project if the database it was built for doesn't exist or isn't accessable. I would like to be able to point a generator project at different databases.
My workaround is to create an empty database with the name that is in the project, then change the name of the database in the project, then drop the empty one I created to get things started.
Is there an easier way to do this? Why does the database have to exist to open a generator project?
thanks,
Dan
My workaround is to create an empty database with the name that is in the project, then change the name of the database in the project, then drop the empty one I created to get things started.
Is there an easier way to do this? Why does the database have to exist to open a generator project?
thanks,
Dan
Comments
One possible workaround is that the project files are basically just XML. So you could open it up in Notepad (or a nicer editor if you have one) and amend the database name. It should then refresh the schema of the new DB you're referencing when you open the file.
Redgate Software