I am trying to write an SQL script to create an insert statement for each row of table TEST which has field A (int)
and field B varchar(30)
, in my MS SQL database.
I would like to save those insert statements into a txt file to be able to apply that data back to another database.
Any idea about how to do it?
Best Answer
Schema only
,Schema and data
, orData only
. I believe you want the last option (Data Only)