File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
articles/cosmos-db/nosql/query Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ms.reviewer: sidandrews
8
8
ms.service : cosmos-db
9
9
ms.subservice : nosql
10
10
ms.topic : reference
11
- ms.date : 07/01 /2023
11
+ ms.date : 07/24 /2023
12
12
ms.custom : query-reference
13
13
---
14
14
@@ -22,7 +22,7 @@ Returns the trigonometric tangent of the specified angle in radians.
22
22
23
23
``` sql
24
24
TAN(< numeric_expr> )
25
- ```
25
+ ```
26
26
27
27
## Arguments
28
28
@@ -38,25 +38,13 @@ Returns a numeric expression.
38
38
39
39
The following example calculates the cotangent of the specified angle using the function.
40
40
41
- ``` sql
42
- SELECT VALUE {
43
- tangentSquareRootPi: TAN(PI()/ 2 ),
44
- tangentArbitraryNumber: TAN(124 .1332 )
45
- }
46
- ```
47
-
48
- ``` json
49
- [
50
- {
51
- "tangentSquareRootPi" : 16331239353195370 ,
52
- "tangentArbitraryNumber" : -24.80651023035602
53
- }
54
- ]
55
- ```
41
+ :::code language="sql" source="~ /cosmos-db-nosql-query-samples/scripts/tan/query.sql" highlight="2-3":::
42
+
43
+ :::code language="json" source="~ /cosmos-db-nosql-query-samples/scripts/tan/result.json":::
56
44
57
45
## Remarks
58
46
59
- - This system function doesn't use the index.
47
+ - This function doesn't use the index.
60
48
61
49
## Next steps
62
50
You can’t perform that action at this time.
0 commit comments