How can I generate a script in SQL Server 2005 with data in table?
Unfortunately the options to script data along with schema didn't seem to appear until SQL Server 2008, so I think you're stuck with third party options.
Use data publishing wizard.
step by step explanation at :
http://blog.sqlauthority.com/2007/11/16/sql-server-2005-generate-script-with-data-from-database-database-publishing-wizard/
I had the same problem before, and there seems to be no direct script can be made to take all tables structures with their data.
I came around this situation by doing the following:
Then, to take your database somewhere else:
This worked just fine for me using SQL Server 2005.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With