Name

BIT_OR()

Synopsis

BIT_OR(expression)

This function returns the bitwise OR for all bits for the expression given. It calculates with a 64-bit precision (BIGINT). It returns 0 if no matching rows are found. Use it in conjunction with the GROUP BY clause.

Get MySQL in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.