October 22, 2004 at 8:06 am
Does anybody have code to generate SQL Insert statements that can be used, for example, for tranferring data from development to production.
I found this code on the internet, but it doesn't handle the NULL values well.
http://www.codeproject.com/database/InsertGeneratorPack.asp
Thanks
October 22, 2004 at 8:11 am
I just found another link that seems to handle NULLs better. Can anyone validate that this is the right logic? Thanks again.
October 25, 2004 at 3:28 am
Why not use good old bcp, or even the DTS wizard can do this kind of stuff with a few clicks?
/Kenneth
October 25, 2004 at 4:07 am
exactly what do you need? i checked out the two links and there's a lot of unneccesary stuff in there. can you give me an example? do you want exact output " INSERT INTO
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply