Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 data into INSERT File

Author  Topic 

nice123ej
Starting Member

48 Posts

Posted - 2008-06-25 : 23:49:33
Hi
I want to get all data in my database in INSERT Statements file
i.e. i want to generate .sql file that has insert statements to reuse it when build the database using database script
is this possible? if so, how?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-06-26 : 00:32:58
Mladen's add-in to SSMS does this: http://www.ssmstoolspack.com/

Vyas has a script: http://vyaskn.tripod.com/code/generate_inserts.txt



Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

nice123ej
Starting Member

48 Posts

Posted - 2008-06-26 : 00:57:11
Thanks a lot
i found this one too :)
http://www.codeproject.com/KB/database/ScriptDatabase.aspx
Go to Top of Page
   

- Advertisement -