Day: August 22, 2010

How to Script All Tables From a Database with PowerShell

Sal Young | August 22nd, 2010


PROBLEM: You need to script all the tables from a database.  Each table needs to be on its own file so they can be added to a source control repository. SOLUTION: The use of SQL Server PowerShell Extensions (SQLPSX) facilitates the solution I’m about to show. The first example is a straight to the point, […]

Read More