21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DDL statements<br />

NOT NULL in variable and parameter declarations<br />

Changed in: <strong>2.1</strong><br />

Description: <strong>Firebird</strong> <strong>2.1</strong> and up allow NOT NULL constraints in declarations of input/output parameters and<br />

local variables. See CREATE PROCEDURE for syntax and details.<br />

Restriction on altering used procedures<br />

Changed in: 2.0, 2.0.1<br />

Description: In <strong>Firebird</strong> 2.0 only, a restriction is in place which prevents anyone from dropping, altering or<br />

recreating a trigger or stored procedure if it has been used since the database was opened. This restriction has<br />

been removed again in version 2.0.1. Still, performing these operations on a live database is potentially risky<br />

and should only be done with the utmost care.<br />

CREATE OR ALTER PROCEDURE<br />

Available in: DSQL<br />

Added in: 1.5<br />

Description: If the procedure does not yet exist, it is created just as if CREATE PROCEDURE were used. If it<br />

already exists, it is altered and recompiled. Existing permissions and dependencies are preserved.<br />

Syntax: Exactly the same as for CREATE PROCEDURE.<br />

DROP PROCEDURE<br />

Available in: DSQL, ESQL<br />

Restriction on dropping used procedures<br />

Changed in: 2.0, 2.0.1<br />

Description: In <strong>Firebird</strong> 2.0 only, a restriction is in place which prevents anyone from dropping, altering or<br />

recreating a trigger or stored procedure if it has been used since the database was opened. This restriction has<br />

been removed again in version 2.0.1. Still, performing these operations on a live database is potentially risky<br />

and should only be done with the utmost care.<br />

RECREATE PROCEDURE<br />

Available in: DSQL<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!