The Script below creates a Stored Procedure that
returns a Macro SQL Statement. When this SQL statement is executed, it inturn returns BCP Out Statements for all the
tables in a given database. The database name should be passed as a parameter to the procedure.
Before the procedure is created, the SA Password must be changed to your Database SA Password, for the BCP statements to work correctly.