Script Language Extentions.

Besides standard set of DDL commands Interbase/Firebird Development Studio supports a set of extended commands that allows you to control script execution flow based on conditions and even database state. The ability to include external files also increases the script management possibilities. Script execution control commands must be in comment pairs and begins from $: /*$include somefile.sql */. Here is the full list of available commands:

Firebird 2.0 introduces COMMENT command that allows to set descriptions for database objects. IBStudio supports this useful command for any version of Interbase and Firebird servers. The syntax of this command is:

COMMENT ON <basic_type> name IS 'description';
COMMENT ON COLUMN tblviewname.fieldname IS 'description';
COMMENT ON PARAMETER procname.parname IS 'description';

where <basic_type> is:
DOMAIN
TABLE
VIEW
PROCEDURE
TRIGGER
EXTERNAL FUNCTION
FILTER
EXCEPTION
GENERATOR