Skip to content

Commit

Permalink
sqlAzureMIRequests - remove duplicate column [session_db_name] (#8462)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorKuchmienko authored Dec 3, 2020
1 parent a267570 commit def6963
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/inputs/sqlserver/azuresqlqueries.go
Original file line number Diff line number Diff line change
Expand Up @@ -1093,8 +1093,7 @@ SELECT
,REPLACE(@@SERVERNAME,'\',':') AS [sql_instance]
,DB_NAME() as [database_name]
,s.[session_id]
,ISNULL(r.[request_id], 0) as [request_id]
,DB_NAME(s.[database_id]) as [session_db_name]
,ISNULL(r.[request_id], 0) as [request_id]
,COALESCE(r.[status], s.[status]) AS [status]
,COALESCE(r.[cpu_time], s.[cpu_time]) AS [cpu_time_ms]
,COALESCE(r.[total_elapsed_time], s.[total_elapsed_time]) AS [total_elapsed_time_ms]
Expand Down

0 comments on commit def6963

Please sign in to comment.