What is the best way to auto-generate INSERT statements for a SQL Server table?

前端 未结 23 2023
难免孤独
难免孤独 2020-11-22 09:47

We are writing a new application, and while testing, we will need a bunch of dummy data. I\'ve added that data by using MS Access to dump excel files into the relevant table

23条回答
  •  广开言路
    2020-11-22 10:18

    I used this script which I have put on my blog (How-to generate Insert statement procedures on sql server).

    So far has worked for me, although they might be bugs I have not discovered yet .

提交回复
热议问题