Search notes:

Oracle SQL function: BITAND

select
   bitand(bin_to_num(1, 1, 1, 0, 1, 0),
          bin_to_num(1, 0, 1, 0, 0, 1)) anded
from
   dual;
There is no built-in BITOR function in Oracle; the or-value of two numbers a and b can be simulated with a - bitand(a,b) + b, for example for 33 and 5:
select
   33 - bitand(33, 5) + 5     orred
from
   dual;

See also

utl_raw.bit_and
The bit_and_agg aggregate function (introduced in 21c).

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758203805, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL/functions/binary/bitand/index(49): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78