Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Bitwise operators perform bit manipulations between two expressions of any of the data types of the integer data type category.
Operator |
Meaning |
|---|---|
Bitwise AND (two operands). |
|
Bitwise OR (two operands). |
|
Bitwise exclusive OR (two operands). |
The operands for bitwise operators can be any one of the data types of the integer or binary string data type categories (except for the image data type), except that both operands cannot be any one of the data types of the binary string data type category. The following table shows the supported operand data types.
Left operand |
Right operand |
|---|---|
int, smallint, or tinyint |
|
int, smallint, tinyint, or bit |
|
int, smallint, tinyint, binary, or varbinary |
|
int, smallint, tinyint, binary, or varbinary |
|
int, smallint, tinyint, binary, or varbinary |
|
int, smallint, or tinyint |