vw_server_automatic_tunings
Creates, updates, deletes, gets or lists a vw_server_automatic_tunings
resource.
Overview
Name | vw_server_automatic_tunings |
Type | View |
Id | azure.sql.vw_server_automatic_tunings |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.desiredState') as "desired_state",
JSON_EXTRACT(properties, '$.actualState') as "actual_state",
JSON_EXTRACT(properties, '$.options') as "options",
subscriptionId,
resourceGroupName,
serverName
FROM azure.sql.server_automatic_tunings
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.desiredState') as "desired_state",
json_extract_path_text(properties, '$.actualState') as "actual_state",
json_extract_path_text(properties, '$.options') as "options",
subscriptionId,
resourceGroupName,
serverName
FROM azure.sql.server_automatic_tunings
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me';