Win has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,

Does anyone know the best way to create SQL statements that recreate database tables in MS SQL Server? (ie. CREATE TABLE and INSERT statements). Do I need an SQL solution to this or a Perl solution?