Showing posts with label ltobjectgt. Show all posts
Showing posts with label ltobjectgt. Show all posts

Friday, March 30, 2012

Scripting "Create to File" for multiple objects

What would be the best way to create a routine that performs the "Script <object> as Create To File" for multiple objects in my database?

I would like a separate file for each object (table, view, or stored procedure).

Could someone point me in the right direction?

Thanks,

Paul
Seperate File - Use SMO programming using .NET and create it.