Build a C# SQL Server Database Export Utility

Posts   
 
    
Posts: 112
Joined: 09-Aug-2004
# Posted on: 26-Oct-2004 14:50:07   

http://www.eggheadcafe.com/articles/20040913.asp

Nice article. The SQLAdmin.dll is very interesting

JimFoye avatar
JimFoye
User
Posts: 656
Joined: 22-Jun-2004
# Posted on: 27-Oct-2004 00:21:15   

Interesting. After looking at this I scouted around the 'net a bit and found some stored procs for generating insert statements.

http://www.databasejournal.com/img/DataAsInsertCommand.sql http://vyaskn.tripod.com/code/generate_inserts.txt

And there are probably others. These could be very useful. I like to script my SQL Server databases from scratch, but sometimes I need to move a lot of Access data into them afterwards. DTS sucks, but I could use that to just dump them into another database in SQL Server, then generate these insert statements and clean them up and put them into a seed script. Then everything is in text files ready to run.

Posts: 497
Joined: 08-Apr-2004
# Posted on: 03-Nov-2004 22:16:53   

I posted something earlier: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=1544

But this article looks way more comprehensive wink