So I have two SQL files. However, I would like to create a third file that wraps both scripts in a BEGIN ... COMMIT
block.
file_1.sql
BEGIN;
CREATE TABLE ....;
COMMIT;
file_2.sql
BEGIN;
CREATE TABLE .....;
COMMIT;
desired_file.sql
BEGIN;
(run file_1)
(run file_2)
COMMIT;
is this possible?