Skip to content

Commit b61bb51

Browse files
authored
Merge pull request #5087 from icoric/patch-9
Updated the code styling
2 parents 4cb1b53 + 4e9f6dd commit b61bb51

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

docs/t-sql/language-elements/bitwise-exclusive-or-transact-sql.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,15 @@ expression ^ expression
5656
## Remarks
5757
The **^** bitwise operator performs a bitwise logical exclusive OR between the two expressions, taking each corresponding bit for both expressions. The bits in the result are set to 1 if either (but not both) bits (for the current bit being resolved) in the input expressions have a value of 1. If both bits are 0 or both bits are 1, the bit in the result is cleared to a value of 0.
5858

59-
If the left and right expressions have different integer data types (for example, the left *expression* is **smallint** and the right *expression* is **int**), the argument of the smaller data type is converted to the larger data type. In this case, the **smallint**_expression_ is converted to an **int**.
59+
If the left and right expressions have different integer data types (for example, the left *expression* is **smallint** and the right *expression* is **int**), the argument of the smaller data type is converted to the larger data type. In this case, the **smallint** _expression_ is converted to an **int**.
6060

6161
## Examples
6262
The following example creates a table using the **int** data type to store the original values and inserts two values into one row.
6363

6464
```
65-
CREATE TABLE bitwise
66-
(
67-
a_int_value int NOT NULL,
68-
b_int_value int NOT NULL
69-
);
65+
CREATE TABLE bitwise (
66+
a_int_value INT NOT NULL,
67+
b_int_value INT NOT NULL);
7068
GO
7169
INSERT bitwise VALUES (170, 75);
7270
GO

0 commit comments

Comments
 (0)