Subject Re: [IB-Architect] Linked scripts
Author Doug Chamberlin
At 4/10/2001 12:21 PM (Tuesday), Helen Borrie wrote:
>How feasible would it be to provide the facility to link DDL scripts? A
>question on the IBO list just prompted my memory that I've often
>considered it would be grand to have scripts that could end {INCLUDE
>script2.sql} or similar, in order to chain my sets of DDL.

This actually works in Interbase 5.6 via the INPUT command. This example is
taken from a production system:

INPUT Soc0S.sql;
INPUT Soc1D.sql;
INPUT Soc2G.sql;
INPUT Soc3T.sql;
INPUT Soc4C.sql;
INPUT Soc5P.sql;
INPUT Soc6I.sql;
INPUT Soc7U.sql;
INPUT Soc8D.sql;
INPUT Soc9X.sql;
COMMIT;

However, I have heard from one developer that this no longer works in
Interbase 6. I have not had a chance to verify the problem but if it exists
I would think this would be an easy thing to restore.