@@ -1071,9 +1071,48 @@ Optionally, you can activate the following checkboxes:
1071
1071
Connecting to MS SQL Server
1072
1072
^^^^^^^^^^^^^^^^^^^^^^^^^^^
1073
1073
1074
- In addition to some of the options in :ref: `vector_create_stored_connection `,
1075
- creating a new MS SQL Server connection dialog proposes you to fill a **Provider/DSN **
1076
- name. You can also display available databases.
1074
+ As mentioned in :ref: `vector_create_stored_connection ` QGIS allows you to
1075
+ create MS SQL Server connection through :guilabel: `Data Source Manager `.
1076
+
1077
+ .. _figure_new_mssql_connection :
1078
+
1079
+ .. figure :: img/mssql_connection_dialog.png
1080
+ :align: center
1081
+
1082
+ MS SQL Server Connection
1083
+
1084
+ To create a new MS SQL Server connection, you need to provide some of the
1085
+ following information in the :guilabel: `Connection Details ` dialog:
1086
+
1087
+ * :guilabel: `Connection name `
1088
+ * :guilabel: `Provider/DNS `
1089
+ * :guilabel: `Host `
1090
+ * :guilabel: `Login ` information
1091
+
1092
+ After you connect to MS SQL Server, in the :guilabel: `Database Details `
1093
+ you are able to display databases by clicking on the :guilabel: `List Databases `.
1094
+
1095
+ Optionally, you can activate the following checkboxes:
1096
+
1097
+ * |checkbox | :guilabel: `Only look in the geometry_columns metadata table `.
1098
+ * |checkbox | :guilabel: `Use layer extent from geometry_columns table `,
1099
+ this checkbox is dependent on the first one; it remains disabled unless
1100
+ the first option is checked.
1101
+ * |checkbox | :guilabel: `Use primary key from geometry_columns table `
1102
+ * |checkbox | :guilabel: `Also list table with no geometry ` tables without a
1103
+ geometry column attached will also be shown in the available table list.
1104
+ * |checkbox | :guilabel: `Use estimated table parameters ` only estimated table
1105
+ metadata will be used. This avoids a slow table scan, but may result in
1106
+ incorrect layer properties such as layer extant.
1107
+ * |checkbox | :guilabel: `Skip invalid geometry handling ` all handling of records
1108
+ with invalid geometry will be disabled. This speeds up the provider, however,
1109
+ if any invalid geometries are present in table then the result is unpredictable
1110
+ and may include missing records. Only check this option if you are certain that
1111
+ all geometries present in the database are valid, and any newly added geometries
1112
+ or tables will also be valid.
1113
+ * |checkbox | :guilabel: `Use only a Subset of Schemas ` will alow you to filter
1114
+ schemas for MS SQL connection. If checked, only selected schemas will be displayed.
1115
+ You can check or uncheck al schemas in the MS SQL connection widget.
1077
1116
1078
1117
.. _create_hana_connection :
1079
1118
0 commit comments