Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Generate scripts for all databases Expand / Collapse
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: Friday, December 11, 2015 12:22 PM
Points: 381, Visits: 690
How do I generate scripts for all objects in all databases for a particular instance.

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



Group: General Forum Members
Last Login: Tuesday, October 25, 2016 8:37 AM
Points: 6,822, Visits: 8,830
have a look at:

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


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