-
-
Notifications
You must be signed in to change notification settings - Fork 714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MS SQL connection details #8780
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still publish my unfnished review
geometry column attached will also be shown in the available table list. | ||
* |checkbox| :guilabel:`Use estimated table parameters` only estimated table | ||
metadata will be used. This avoids a slow table scan, but may result in | ||
incorrect layer properties such as layer extant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
incorrect layer properties such as layer extant. | |
incorrect layer properties such as layer extent. |
* |checkbox| :guilabel:`Use primary key from geometry_columns table` | ||
* |checkbox| :guilabel:`Also list table with no geometry` tables without a | ||
geometry column attached will also be shown in the available table list. | ||
* |checkbox| :guilabel:`Use estimated table parameters` only estimated table |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* |checkbox| :guilabel:`Use estimated table parameters` only estimated table | |
* |checkbox| :guilabel:`Use estimated table parameters`: only estimated table |
this checkbox is dependent on the first one; it remains disabled unless | ||
the first option is checked. | ||
* |checkbox| :guilabel:`Use primary key from geometry_columns table` | ||
* |checkbox| :guilabel:`Also list table with no geometry` tables without a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* |checkbox| :guilabel:`Also list table with no geometry` tables without a | |
* |checkbox| :guilabel:`Also list table with no geometry`: tables without a |
* |checkbox| :guilabel:`Use estimated table parameters` only estimated table | ||
metadata will be used. This avoids a slow table scan, but may result in | ||
incorrect layer properties such as layer extant. | ||
* |checkbox| :guilabel:`Skip invalid geometry handling` all handling of records |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* |checkbox| :guilabel:`Skip invalid geometry handling` all handling of records | |
* |checkbox| :guilabel:`Skip invalid geometry handling`: all handling of records |
incorrect layer properties such as layer extant. | ||
* |checkbox| :guilabel:`Skip invalid geometry handling` all handling of records | ||
with invalid geometry will be disabled. This speeds up the provider, however, | ||
if any invalid geometries are present in table then the result is unpredictable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if any invalid geometries are present in table then the result is unpredictable | |
if any invalid geometries are present in a table then the result is unpredictable |
all geometries present in the database are valid, and any newly added geometries | ||
or tables will also be valid. | ||
* |checkbox| :guilabel:`Use only a Subset of Schemas` will alow you to filter | ||
schemas for MS SQL connection. If checked, only selected schemas will be displayed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
schemas for MS SQL connection. If checked, only selected schemas will be displayed. | |
schemas for MS SQL connection. If enabled, only checked schemas will be displayed. |
or tables will also be valid. | ||
* |checkbox| :guilabel:`Use only a Subset of Schemas` will alow you to filter | ||
schemas for MS SQL connection. If checked, only selected schemas will be displayed. | ||
You can check or uncheck al schemas in the MS SQL connection widget. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can check or uncheck al schemas in the MS SQL connection widget. | |
You can right-click to :guilabel:`Check` or :guilabel:`Uncheck` any schema in the list. |
After you connect to MS SQL Server, in the :guilabel:`Database Details` | ||
you are able to display databases by clicking on the :guilabel:`List Databases`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That connection dialog is quite messy and uncommon in QGIS so as I do not have access to mssql db, it is unclear to me how it works.
After you connect to MS SQL Server,
Is providing the above information that triggers the connection? Or is that connection done when you actually press "List databases" (and btw displays the list)? I'm able to hit the "list DB" button without any of those info. Would it be smthg like
After you connect to MS SQL Server, in the :guilabel:`Database Details` | |
you are able to display databases by clicking on the :guilabel:`List Databases`. | |
In the :guilabel:`Database Details` section, press the :guilabel:`List Databases` button | |
to connect to the MS SQL server and display available databases. |
Or (worse), you have to leave that dialog, hit the connect button in the DSM dialog and then come back to hit the "list db" tools and the other options? And do you know what is the purpose of the "Test connection" button then?
After you connect to MS SQL Server, in the :guilabel:`Database Details` | ||
you are able to display databases by clicking on the :guilabel:`List Databases`. | ||
|
||
Optionally, you can activate the following checkboxes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optionally, you can activate the following checkboxes: | |
Optionally, you can activate the following options: |
Sorry I didn't know that you were preparing a review. I will repeat the entire process so that I can address your questions and create a new PR for the suggested changes. |
No worries. I've been busy with other projects and some backend issues here so did not have much time for reviewing and publishing in a row. |
Fixes #6443
Fixes #6644
Fixes #3063