DBScript is a tool that will generate a SQL script based on a table from a database. The script will contain an INSERT statement for every row of the table; this can be used to re-create all or some of the table's contents.
Unlike BCP (a command-line utility for performing similar actions under Microsoft SQL Server and Sybase), however, this utility does give you the opportunity to deal with a subset of the table. You may specify a SELECT statement, and DBScript will only generate INSERT statements for those rows returned by your SELECT.
CLICK AICI PENTRU DOWNLOAD