Skip to main content

sql_pool_data_warehouse_user_activities

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

Overview

Namesql_pool_data_warehouse_user_activities
TypeResource
Idazure.synapse.sql_pool_data_warehouse_user_activities

Fields

NameDatatypeDescription
active_queries_counttextfield from the properties object
dataWarehouseUserActivityNametextfield from the properties object
resourceGroupNametextfield from the properties object
sqlPoolNametextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataWarehouseUserActivityName, resourceGroupName, sqlPoolName, subscriptionId, workspaceNameGets the user activities of a SQL pool which includes running and suspended queries

SELECT examples

Gets the user activities of a SQL pool which includes running and suspended queries

SELECT
active_queries_count,
dataWarehouseUserActivityName,
resourceGroupName,
sqlPoolName,
subscriptionId,
workspaceName
FROM azure.synapse.vw_sql_pool_data_warehouse_user_activities
WHERE dataWarehouseUserActivityName = '{{ dataWarehouseUserActivityName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND sqlPoolName = '{{ sqlPoolName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';