File tree Expand file tree Collapse file tree
docs/relational-databases/polybase Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,9 +59,11 @@ The following Transact-SQL commands are used in this section:
5959
6060 ` ` ` sql
6161 CREATE EXTERNAL DATA SOURCE external_data_source_name
62- WITH (LOCATION = '<mongodb://<server>[:<port>]>',
63- -- PUSHDOWN = ON | OFF,
64- CREDENTIAL = <credential_name>);
62+ WITH (LOCATION = '<mongodb://<server>[:<port>]>'
63+ [ [ , ] CREDENTIAL = <credential_name> ]
64+ [ [ , ] CONNECTION_OPTIONS = '<key_value_pairs>'[,...]]
65+ [ [ , ] PUSHDOWN = { ON | OFF } ])
66+ [ ; ]
6567 ` ` `
6668
67691 . ** Optional:** Create statistics on an external table.
@@ -149,7 +151,7 @@ The following example creates an external data source with the following paramet
149151` ` ` sql
150152CREATE EXTERNAL DATA SOURCE external_data_source_name
151153 WITH (LOCATION = 'mongodb://mongodb0.example.com:27017',
152- CONNECTION_OPTION = 'replicaSet=myRepl',' tls=true',
154+ CONNECTION_OPTIONS = 'replicaSet=myRepl; tls=true',
153155 PUSHDOWN = ON ,
154156 CREDENTIAL = credential_name);
155157` ` `
You can’t perform that action at this time.
0 commit comments