Skip to content

Commit a804c5c

Browse files
committed
fix date typo
1 parent f6e2a91 commit a804c5c

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

articles/cosmos-db/sql-query-from.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about the SQL syntax, and example for FROM clause for Azure C
44
author: timsander1
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: -5/08/2020
7+
ms.date: 05/08/2020
88
ms.author: tisande
99

1010
---

articles/cosmos-db/sql-query-working-with-json.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ ms.author: tisande
1212

1313
In Azure Cosmos DB's SQL (Core) API, items are stored as JSON. The type system and expressions are restricted to deal only with JSON types. For more information, see the [JSON specification](https://www.json.org/).
1414

15-
We'll summarize some important aspects of working with JSON.
15+
We'll summarize some important aspects of working with JSON:
1616

1717
- JSON objects always begin with a `{` left brace and end with a `}` right brace
1818
- You can have JSON properties [nested](#nested-properties) within one another
19-
- JSON properties can have arrays values
20-
- JSON properties are case sensitive
21-
- JSON properties can have any string value (including spaces or characters that aren't letters)
19+
- JSON property values can be arrays
20+
- JSON property names are case sensitive
21+
- JSON property name can be any string value (including spaces or characters that aren't letters)
2222

2323
## Nested properties
2424

@@ -95,7 +95,7 @@ WHERE f.children[0].givenName = "Jesse"
9595

9696
In most cases, however, you'll use a [subquery](sql-query-subquery.md) or [self-join](sql-query-join.md) when working with arrays.
9797

98-
For example, here's a document that shows the bank account balance of a customer over each month during 2020.
98+
For example, here's a document that shows the daily balance of a customer's bank account.
9999

100100
```json
101101
{
@@ -122,7 +122,7 @@ For example, here's a document that shows the bank account balance of a customer
122122
}
123123
```
124124

125-
If you wanted to run a query that showed all the customers that had a negative balance at some point during 2020, it would use [EXISTS](sql-query-subquery.md#exists-expression) with a subquery:
125+
If you wanted to run a query that showed all the customers that had a negative balance at some point, you could use [EXISTS](sql-query-subquery.md#exists-expression) with a subquery:
126126

127127
```sql
128128
SELECT c.id
@@ -256,6 +256,8 @@ The results are:
256256
}]
257257
```
258258

259+
### Aliasing with reserved keywords or special characters
260+
259261
You can't use aliasing to project a value as a property name with a space, special character, or reserved word. If you wanted to change a value's projection to, for example, have a property name with a space, you could use a [JSON expression](#json-expressions).
260262

261263
Here's an example:

0 commit comments

Comments
 (0)