Is there a way to generate an INSERT
statement for the rows in an existing table?
I have a table in SQL Server 2008 with 150 rows. I am wondering if something like the following is possible to get from that table.
INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country)
VALUES ('Cardinal', 'Tom B. Erichsen', 'Skagen 21', 'Stavanger', '4006', 'Norway');
The SQL script should include all the 150 rows to insert.