March 5, 2009 at 6:33 pm
Other than looping through a record set and printing out INSERT statements. Is there a simple tool to export all table data as INSERTs?
My end goal is to export SQL 2005 data into a SQL 7.0 database. All suggestions are appreciated.
Thanks
Dave
March 5, 2009 at 6:53 pm
Narayana Vyas Kondreddi wrote a really good proc over at http://vyaskn.tripod.com called sp_generate_inserts, which dumps the table's contents out to INSERT statements.
i use it all the time and have used a modified version to include the IDENTITY_INSERT ON/OFf as a select instead of print.
that will do everything you need.
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply