# Custom Extension Creator - SQL Server stored proc

**URL:** <https://community.dynatrace.com/t/custom-extension-creator-sql-server-stored-proc/54921>\
**Category:** Extensions\
**Tags:** databases, extensions\
**Created:** [February 9, 2026, 8:27am UTC](https://community.dynatrace.com/t/custom-extension-creator-sql-server-stored-proc/54921 "2026-02-09T08:27:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![barryla](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barryla](https://community.dynatrace.com/u/barryla)\
**Post date:** [February 9, 2026, 8:27am UTC](https://community.dynatrace.com/t/custom-extension-creator-sql-server-stored-proc/54921/1 "2026-02-09T08:27:23Z")

</div>

Has anyone been able to execute a SQL Server stored procedure as part of query that need to be added to the custom extensions creator?

When I add the EXEC sql\_storeproc command, it says that the statement need to start with a SELECT, although, the stored proc returns a set of information.

---

<div class="post-metadata">

**Author:** ![AravindhanV](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@AravindhanV](https://community.dynatrace.com/u/AravindhanV)\
**Post date:** [February 26, 2026, 8:25am UTC](https://community.dynatrace.com/t/custom-extension-creator-sql-server-stored-proc/54921/2 "2026-02-26T08:25:31Z")

</div>

Dynatrace does **not** allow `EXEC stored procedures` in Extensions 2.0 because:

- Only **SELECT** is permitted (for security & safety)
- Stored procedures are unpredictable for metric ingestion
- The extension framework is strictly **read‑only**

**EXEC** &nbsp;will return the multiple result set which may cause the metric flooding and along with it will create the unbound access to Backend systems.

With the security constraint being considered, INSERT, DELETE, UPDATE&nbsp; along with EXEC is not allowed and only SELECT is allowed.

Thanks
