# SQL Server Data source for Custom Database Extension MSSQL

**URL:** <https://community.dynatrace.com/t/sql-server-data-source-for-custom-database-extension-mssql/47438>\
**Category:** Extensions\
**Tags:** databases, extensions\
**Created:** [September 2, 2024, 8:56pm UTC](https://community.dynatrace.com/t/sql-server-data-source-for-custom-database-extension-mssql/47438 "2024-09-02T20:56:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![AndrewP](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@AndrewP](https://community.dynatrace.com/u/AndrewP)\
**Post date:** [September 2, 2024, 8:56pm UTC](https://community.dynatrace.com/t/sql-server-data-source-for-custom-database-extension-mssql/47438/1 "2024-09-02T20:56:38Z")

</div>

Hello, I am working on the migration to 2.0, I am able to fetch the metrics, but not able to fetch&nbsp; dimensions, example of the query:

SELECTcount(\*) as cntService,service\_nameFROM \*\*\*\*\*\*\*WHEREAGENT\_STATUS = 'RUNNING’GROUP BYSRVICE\_NAMEmetrics:- key: \*\*\*\*\*.running.service.cnt&nbsp; value: col:cntServicedimensions:- key: \*\*\*\*.running.service.name&nbsp; value: col:service\_nameAnd I can see a metrics, but not able to see dimensions in Dynatrace, Do you have any idea what I am doing wrong? The same query is giving proper values in the SQL server.Thanks

---

_[View the full topic](https://community.dynatrace.com/t/sql-server-data-source-for-custom-database-extension-mssql/47438)._
