What is the simplest way to generate insert
statements fro every entry in a table? For a table with 3 rows, I need to generate 3 insert statements.
For a table with n rows I need to write to a file n insert
statements.
For example, for row (foo, bar, baz) I need to write to that file the statement:
insert into desired_table values (foo, bar, baz)