4 Commits

Author SHA1 Message Date
8ce8c1635f Escape database names in MSSQL datasource (#99754)
Valid MSSQL database names can contain characters like `-`, which need
to be escaped when used in queries.

This PR wraps database names in `[]`, and fixes Grafana issue #58757.
2025-01-30 15:36:45 -05:00
d103c58539 MSSQL/Postgres: List views in table dropdown as well (#62867)
* MSSQL: Query views for table dropdown

* Postgres: Query views for table dropdown
2023-02-06 15:16:32 +01:00
09ab156480 MSSQL: Support tables from all schemas (#53099) 2022-10-19 17:27:29 +02:00
35d98104ad MSSQL: Migrate to React (#51765)
* Fix: sql plugins feature

* SQLDS: Use builtin annotation editor

Plus strict rule fixes

* MSSQL: Migrate query editor to React

* Make code editor work

* Make SQLOptions and SQLQuery in SQLDatasource and in Editor generic

* MSSQL: Fix ts issues

* Fix SQLDatasource refID

* Remove comment

* Revert "Make SQLOptions and SQLQuery in SQLDatasource and in Editor generic"

This reverts commit 1d15b4061a0a08a0a6fdbdac6cbf8336f0b4df0c.

* Fix ts issues without generic

* TS
2022-07-15 19:51:28 +02:00