1.2 KiB
1.2 KiB
title, language
| title | language |
|---|---|
| bitor | zh-CN |
bitor
description
Syntax
BITOR(Integer-type lhs, Integer-type rhs)
返回两个整数或运算的结果.
整数范围:TINYINT、SMALLINT、INT、BIGINT、LARGEINT
example
mysql> select bitor(3,5) ans;
+------+
| ans |
+------+
| 7 |
+------+
mysql> select bitand(4,7) ans;
+------+
| ans |
+------+
| 7 |
+------+
keyword
BITOR