What the title says. I am reading some old code and there is a part where a lot of data is read in, but instead of directly writing it into the database an ascii file with a lot of sql INSERT queries is created and this file is than delivered to the sql-server. Why would anyone do that when you can just execute the queries right away? My understanding is that this can only hurt performance? Or is there a good reason to do this?