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

前端 未结 23 1793
难免孤独
难免孤独 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:05

    why not just backup the data before your work with it, then restore when you want it to be refreshed?

    if you must generate inserts try: http://vyaskn.tripod.com/code.htm#inserts

提交回复
热议问题