Create SQL INSERT Script with values gathered from table

后端 未结 5 1301
迷失自我
迷失自我 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:04

    use the INSERT INTO ... SELECT format:

    http://blog.sqlauthority.com/2007/08/15/sql-server-insert-data-from-one-table-to-another-table-insert-into-select-select-into-table/

提交回复
热议问题