Skip to main content

data_warehouse_user_activities

Creates, updates, deletes, gets or lists a data_warehouse_user_activities resource.

Overview

Namedata_warehouse_user_activities
TypeResource
Idazure.sql.data_warehouse_user_activities

Fields

NameDatatypeDescription
active_queries_counttextfield from the properties object
dataWarehouseUserActivityNametextfield from the properties object
databaseNametextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataWarehouseUserActivityName, databaseName, resourceGroupName, serverName, subscriptionIdGets the user activities of a data warehouse which includes running and suspended queries
list_by_databaseSELECTdatabaseName, resourceGroupName, serverName, subscriptionIdList the user activities of a data warehouse which includes running and suspended queries

SELECT examples

List the user activities of a data warehouse which includes running and suspended queries

SELECT
active_queries_count,
dataWarehouseUserActivityName,
databaseName,
resourceGroupName,
serverName,
subscriptionId
FROM azure.sql.vw_data_warehouse_user_activities
WHERE databaseName = '{{ databaseName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';