Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Generate scripts for all databases Expand / Collapse
Author
Message
Posted Tuesday, December 7, 2010 1:18 PM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Tuesday, January 28, 2014 3:52 PM
Points: 377, Visits: 685
How do I generate scripts for all objects in all databases for a particular instance.

Thanks.
Post #1031478
Posted Tuesday, December 7, 2010 1:27 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Friday, November 21, 2014 7:42 AM
Points: 6,743, Visits: 8,515
have a look at:


"C:\Program Files\Microsoft SQL Server\MSSQL\Upgrade\scptxfr.exe" /s yoursqlserver\instance /d yourdb /I /F c:\yourscriptfolder



Johan


Don't drive faster than your guardian angel can fly ...
but keeping both feet on the ground won't get you anywhere

- How to post Performance Problems
- How to post data/code to get the best help


- How to prevent a sore throat after hours of presenting ppt ?


"press F1 for solution", "press shift+F1 for urgent solution"


Need a bit of Powershell? How about this

Who am I ? Sometimes this is me but most of the time this is me
Post #1031489
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse