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

前端 未结 23 1387
难免孤独
难免孤独 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 09:57

    You can generate INSERT or MERGE statement with this simple and free application I wrote a few years ago:
    Data Script Writer (Desktop Application for Windows)

    Also, I wrote a blog post about these tools recently and approach to leveraging SSDT for a deployment database with data. Find out more:
    Script and deploy the data for database from SSDT project

提交回复
热议问题