muleskinner
MIS
Hi
In order to do QA on data, I would like to prepare a set of SQL scripts and then run these as a batch script. For example:
q1.txt
q2.txt
are two scripts that each contain SQLs. I would like to create a q3.txt that contains:
run q1.txt
run q2.txt
and then run it using "run q3.txt". I tried this and it failed. I can run q1 and q2 individually, but that gets old in a hurry. Any ideas?
(The equivalent in Oracle would be a q3.sql that contains
@q1.sql
@q2.sql
which I could then run using @q3.sql).
In order to do QA on data, I would like to prepare a set of SQL scripts and then run these as a batch script. For example:
q1.txt
q2.txt
are two scripts that each contain SQLs. I would like to create a q3.txt that contains:
run q1.txt
run q2.txt
and then run it using "run q3.txt". I tried this and it failed. I can run q1 and q2 individually, but that gets old in a hurry. Any ideas?
(The equivalent in Oracle would be a q3.sql that contains
@q1.sql
@q2.sql
which I could then run using @q3.sql).