Create SQL INSERT Script with values gathered from table

后端 未结 5 1311
迷失自我
迷失自我 2020-12-08 06:17

I need to create a INSERT script in order to insert in another database the same data.
If in SQL Server I select \"Script table as > INSERT To\" I can easily recreate t

5条回答
  •  难免孤独
    2020-12-08 07:01

    @RedFilter, your solution is working like a charm for less data SIZE.

    In my case, When I tried to open the Exported sql file, I faced the OutOfMemoryException.

    The file size is around 4GB.

    In order to get the data from that file, I tried BCP(Bulk Copy Program) approach.

    Hope that would be help full for someone.

提交回复
热议问题