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.

Result type: INTEGER or BIGINT<br />

Syntax:<br />

BIN_AND (number [, number ...])<br />

Important<br />

Internal functions<br />

If the external function BIN_AND is declared in your database, it will override the internal function. To make<br />

the internal function available, DROP or ALTER the external function (UDF).<br />

Available in: DSQL, PSQL<br />

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

BIN_OR()<br />

Description: Returns the result of the bitwise OR operation on the argument(s).<br />

Result type: INTEGER or BIGINT<br />

Syntax:<br />

BIN_OR (number [, number ...])<br />

Important<br />

If the external function BIN_OR is declared in your database, it will override the internal function. To make the<br />

internal function available, DROP or ALTER the external function (UDF).<br />

Available in: DSQL, PSQL<br />

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

BIN_SHL()<br />

Description: Returns the first argument bitwise left-shifted by the second argument, i.e. a

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

Saved successfully!

Ooh no, something went wrong!