Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2003
    Posts
    144

    Question Unanswered: Is there a Bitwise AND function somewhere?

    Hello

    Does anyone know about a Bitwise AND function that receives 2 bigint numbers, performs the binary AND operation and returns another bigint number?

    Thanks a lot.

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    There is not one built into DB2. You would have to write a UDF to do that, and it would have to be a C or Java UDF to perform the bitwise AND operation. No you may be able to search the Web to see if someone has done this in the past and is willing to give it away.

    Andy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •