vw_restore_points
Creates, updates, deletes, gets or lists a vw_restore_points
resource.
Overview
Name | vw_restore_points |
Type | View |
Id | azure.sql.vw_restore_points |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
JSON_EXTRACT(properties, '$.restorePointType') as "restore_point_type",
JSON_EXTRACT(properties, '$.earliestRestoreDate') as "earliest_restore_date",
JSON_EXTRACT(properties, '$.restorePointCreationDate') as "restore_point_creation_date",
JSON_EXTRACT(properties, '$.restorePointLabel') as "restore_point_label",
subscriptionId,
resourceGroupName,
serverName,
databaseName,
restorePointName
FROM azure.sql.restore_points
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me' AND databaseName = 'replace-me';
SELECT
location as location,
json_extract_path_text(properties, '$.restorePointType') as "restore_point_type",
json_extract_path_text(properties, '$.earliestRestoreDate') as "earliest_restore_date",
json_extract_path_text(properties, '$.restorePointCreationDate') as "restore_point_creation_date",
json_extract_path_text(properties, '$.restorePointLabel') as "restore_point_label",
subscriptionId,
resourceGroupName,
serverName,
databaseName,
restorePointName
FROM azure.sql.restore_points
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND serverName = 'replace-me' AND databaseName = 'replace-me';