turbot/azure_insights

Query: sql_databases_for_sql_server

Usage

powerpipe query azure_insights.query.sql_databases_for_sql_server

Steampipe Tables

SQL

select
lower(id) as sql_database_id
from
azure_sql_database
where
lower(server_name) = lower(split_part($1, '/', 9))
and subscription_id = (split_part($1, '/', 3));