13.07.2015 Views

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

Caché Transact-SQL (TSQL) Migration Guide - InterSystems ...

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

<strong>Caché</strong> T<strong>SQL</strong> Language Elements3.4.5 Bitwise Logical Operators<strong>Caché</strong> T<strong>SQL</strong> supports the AND (&), OR (|), XOR (^), and NOT (~) bitwise operators for the integer data type. The decimalintegers are converted to binary, the logical operation is performed, and the resulting binary is converted to a decimalinteger value. The NOT (~) operator is a unary operator that inverts bits.16 <strong>Caché</strong> <strong>Transact</strong>-<strong>SQL</strong> (T<strong>SQL</strong>) <strong>Migration</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!