Skip to content

Commit bbd6a01

Browse files
Merge pull request #265577 from jovanpop-msft/patch-243
Added explanation for endpoint
2 parents 92e8663 + b06ff7f commit bbd6a01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/synapse-analytics/sql/query-cosmos-db-analytical-store.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ The SQL connection string has the following format:
6565

6666
The region is optional. If omitted, the container's primary region is used.
6767

68+
> [!IMPORTANT]
69+
> There is another optional parameter in connection string called `endpoint`. The `endpoint` param is needed for accounts that do not match the standard `*.documents.azure.com` format. For example, if your Azure CosmosDB account ends with `.documents.azure.us`, make sure that you add `endpoint=<account name>.documents.azure.us` in the connection string.
70+
6871
The Azure Cosmos DB container name is specified without quotation marks in the `OPENROWSET` syntax. If the container name has any special characters, for example, a dash (-), the name should be wrapped within square brackets (`[]`) in the `OPENROWSET` syntax.
6972

7073
### [OPENROWSET with credential](#tab/openrowset-credential)

0 commit comments

Comments
 (0)