|
1 | 1 | --- |
| 2 | +title: "< (Less Than) (Transact-SQL)" |
2 | 3 | description: "< (Less Than) (Transact-SQL)" |
3 | | -title: "< (Less Than) (Transact-SQL) | Microsoft Docs" |
4 | | -ms.custom: "" |
5 | | -ms.date: "03/13/2017" |
6 | 4 | ms.prod: sql |
7 | 5 | ms.prod_service: "database-engine, sql-database, synapse-analytics, pdw" |
8 | 6 | ms.reviewer: "" |
9 | 7 | ms.technology: t-sql |
10 | 8 | ms.topic: reference |
11 | 9 | f1_keywords: |
12 | | - - "< (Less Than)" |
13 | 10 | - "<_TSQL" |
14 | | - - "Than" |
15 | | - - "Less" |
16 | | - - "<" |
17 | | - - "Less Than" |
18 | 11 | dev_langs: |
19 | 12 | - "TSQL" |
20 | 13 | helpviewer_keywords: |
21 | 14 | - "less than (<)" |
22 | 15 | - "< (less than operator)" |
23 | | -ms.assetid: 54f50bdd-bb62-4593-9af9-4c49edecab75 |
24 | 16 | author: LitKnd |
25 | 17 | ms.author: kendralittle |
| 18 | +ms.custom: "" |
| 19 | +ms.date: "03/13/2017" |
26 | 20 | monikerRange: ">=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current" |
27 | 21 | --- |
| 22 | + |
28 | 23 | # < (Less Than) (Transact-SQL) |
| 24 | + |
29 | 25 | [!INCLUDE [sql-asdb-asdbmi-asa-pdw](../../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw.md)] |
30 | 26 |
|
31 | | - Compares two expressions (a comparison operator). When you compare nonnull expressions, the result is TRUE if the left operand has a value lower than the right operand; otherwise, the result is FALSE. If either or both operands are NULL, see the topic [SET ANSI_NULLS (Transact-SQL)](../../t-sql/statements/set-ansi-nulls-transact-sql.md). |
| 27 | +Compares two expressions (a comparison operator). When you compare nonnull expressions, the result is TRUE if the left operand has a value lower than the right operand; otherwise, the result is FALSE. If either or both operands are NULL, see the topic [SET ANSI_NULLS (Transact-SQL)](../../t-sql/statements/set-ansi-nulls-transact-sql.md). |
32 | 28 |
|
33 | | -  [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md) |
| 29 | + [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md) |
34 | 30 |
|
35 | 31 | ## Syntax |
36 | 32 |
|
@@ -58,8 +54,7 @@ expression < expression |
58 | 54 | SELECT DepartmentID, Name |
59 | 55 | FROM HumanResources.Department |
60 | 56 | WHERE DepartmentID < 3 |
61 | | -ORDER BY DepartmentID; |
62 | | - |
| 57 | +ORDER BY DepartmentID; |
63 | 58 | ``` |
64 | 59 |
|
65 | 60 | [!INCLUDE[ssResult](../../includes/ssresult-md.md)] |
|
93 | 88 | ``` |
94 | 89 |
|
95 | 90 | ## See Also |
96 | | - [IIF (Transact-SQL)](../../t-sql/functions/logical-functions-iif-transact-sql.md) |
97 | | - [Data Types (Transact-SQL)](../../t-sql/data-types/data-types-transact-sql.md) |
98 | | - [Operators (Transact-SQL)](../../t-sql/language-elements/operators-transact-sql.md) |
| 91 | +- [IIF (Transact-SQL)](../../t-sql/functions/logical-functions-iif-transact-sql.md) |
| 92 | +- [Data Types (Transact-SQL)](../../t-sql/data-types/data-types-transact-sql.md) |
| 93 | +- [Operators (Transact-SQL)](../../t-sql/language-elements/operators-transact-sql.md) |
99 | 94 |
|
100 | 95 |
|
0 commit comments