maxicream
how to get all data from database on sql server 2005 in to a file. File is include scripts can build another database as the same old database. include data in all table
Transact-SQL
What do you mean Like scripts that insert data Or just to duplicate a database
You can duplicate a database easily using backup and restore.
You can compare the data in two databases using Red Gate's Data Compare Tool http://www.red-gate.com/products/SQL_Data_Compare/index.htm.
If you are trying to copy the database to build another for deployment, you can try this sql wizard. It will create the scripts needed to create or deploy. Hope this helps.
Regards, Burl
Try the Database Publishing Wizard: