Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 60c8015

Browse files
authored
Arithmetic ops, added link.
1 parent 451243b commit 60c8015

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Arithmetic Operators (Transact-SQL) | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "03/16/2017"
4+
ms.date: "07/06/2017"
55
ms.prod: "sql-non-specified"
66
ms.reviewer: ""
77
ms.suite: ""
@@ -24,22 +24,23 @@ manager: "jhubbard"
2424
# Arithmetic Operators (Transact-SQL)
2525
[!INCLUDE[tsql-appliesto-ss2008-all_md](../../includes/tsql-appliesto-ss2008-all-md.md)]
2626

27-
Arithmetic operators perform mathematical operations on two expressions of one or more of the data types of the numeric data type category. For more information about data type categories, see [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md).
28-
29-
|Operator|Meaning|
30-
|--------------|-------------|
31-
|[+ (Add)](../../t-sql/language-elements/add-transact-sql.md)|Addition|
32-
|[- (Subtract)](../../t-sql/language-elements/subtract-transact-sql.md)|Subtraction|
33-
|[* (Multiply)](../../t-sql/language-elements/multiply-transact-sql.md)|Multiplication|
34-
|[/ (Divide)](../../t-sql/language-elements/divide-transact-sql.md)|Division|
35-
|[% (Modulo)](../../t-sql/language-elements/modulo-transact-sql.md)|Returns the integer remainder of a division. For example, 12 % 5 = 2 because the remainder of 12 divided by 5 is 2.|
36-
37-
The plus (+) and minus (-) operators can also be used to perform arithmetic operations on **datetime** and **smalldatetime** values.
38-
39-
For more information about the precision and scale of the result of an arithmetic operation, see [Precision, Scale, and Length (Transact-SQL)](../../t-sql/data-types/precision-scale-and-length-transact-sql.md).
40-
41-
## See Also
42-
[Data Types (Transact-SQL)](../../t-sql/data-types/data-types-transact-sql.md)
43-
[Expressions (Transact-SQL)](../../t-sql/language-elements/expressions-transact-sql.md)
44-
45-
27+
Arithmetic operators perform mathematical operations on two expressions of one or more of the data types of the numeric data type category. For more information about data type categories, see [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md).
28+
29+
|Operator|Meaning|
30+
|--------------|-------------|
31+
|[+ (Add)](../../t-sql/language-elements/add-transact-sql.md)|Addition|
32+
|[- (Subtract)](../../t-sql/language-elements/subtract-transact-sql.md)|Subtraction|
33+
|[* (Multiply)](../../t-sql/language-elements/multiply-transact-sql.md)|Multiplication|
34+
|[/ (Divide)](../../t-sql/language-elements/divide-transact-sql.md)|Division|
35+
|[% (Modulo)](../../t-sql/language-elements/modulo-transact-sql.md)|Returns the integer remainder of a division. For example, 12 % 5 = 2 because the remainder of 12 divided by 5 is 2.|
36+
37+
The plus (+) and minus (-) operators can also be used to perform arithmetic operations on **datetime** and **smalldatetime** values.
38+
39+
For more information about the precision and scale of the result of an arithmetic operation, see [Precision, Scale, and Length (Transact-SQL)](../../t-sql/data-types/precision-scale-and-length-transact-sql.md).
40+
41+
## See Also
42+
[Mathematical Functions (Transact-SQL)](../../t-sql/functions/mathematical-functions-transact-sql.md)
43+
[Data Types (Transact-SQL)](../../t-sql/data-types/data-types-transact-sql.md)
44+
[Expressions (Transact-SQL)](../../t-sql/language-elements/expressions-transact-sql.md)
45+
46+

0 commit comments

Comments
 (0)