• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql

syntax and example of bitand function in oracle plsql

BITAND Function in Oracle SQL – PLSQL

November 5, 2012 by techhoneyadmin

The BITAND function in Oracle SQL / PLSQL is used to return an integer number representing an AND operation between the bits of expressions passed.

Syntax for the BITAND function in Oracle SQL / PLSQL is:

SELECT BITAND(expression1, expression2)
FROM table_name;

Expression1 and expression2 must resolve to positive integers

Example 1:

SELECT BITAND(20,10)
FROM DUAL;

Will return “0”


Example 2:

SELECT BITAND(20,30)
FROM DUAL;

Will return “20”


Filed Under: function Tagged With: bitand function in oracle plsql, bitand function in oracle sql, BITANDPLSQL, how to use bitand function in oracle database query, how to use bitand function in oracle plsql, how to use bitand function in oracle sql, syntax and example of bitand function in oracle database query, syntax and example of bitand function in oracle plsql, syntax and example of bitand function in oracle sql, using bitand function in oracle database query, using bitand function in oracle plsql, using bitand function in oracle sql

Copyright © 2025 · Parallax Pro on Genesis Framework · WordPress · Log in