April 24, 2003 at 7:13 am
I have a production server with a database that the user vendor program allows them to alter the schema (add new colums and tables),
Note this production server is on a privet virtual lan.
I need to create a Job that will generate a script to create the full database script for this database, them I will have the Backup group move this file to the QA server in another virtual lan.
All I need is the new schema in QA server not the data. This will allow me to duplicate the ever changin schema.
Note: the data base in production is cleared and repopulated by the user every day.
April 24, 2003 at 7:37 am
Have you looked at Bill Wunder's tool in the the Freeware section?
Jeremy
April 24, 2003 at 9:16 am
One alternative is to use SQLDMO. The Database object in SQLDMO has a GenerateSql Method which generates the scripts for all objects in database.
You can write a vb program to generate script from dmo and write it to a file and schedule this program via sql*server.
Hope this helps.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply