# Is there a limit on the length of SQL statements in Dynatrace?

**URL:** <https://community.dynatrace.com/t/is-there-a-limit-on-the-length-of-sql-statements-in-dynatrace/11678>\
**Category:** Open Q&A\
**Tags:** databases\
**Created:** [April 16, 2018, 6:18am UTC](https://community.dynatrace.com/t/is-there-a-limit-on-the-length-of-sql-statements-in-dynatrace/11678 "2018-04-16T06:18:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kkunimoto](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kkunimoto](https://community.dynatrace.com/u/kkunimoto)\
**Post date:** [April 16, 2018, 6:18am UTC](https://community.dynatrace.com/t/is-there-a-limit-on-the-length-of-sql-statements-in-dynatrace/11678/1 "2018-04-16T06:18:20Z")

</div>

Dear community, support,

We are investigating whether the length of SQL statement has any restriction in Dynatrace.  
As long as I see, Dynatrace SaaS does not truncate a long SQL statement over 1500 bytes and does not have any setting properties.  
Does anyone know Dynatrace has any restriction on the length of SQL statements?

Thanks,

Kenichi

---

<div class="post-metadata">

**Author:** ![kkunimoto](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@kkunimoto](https://community.dynatrace.com/u/kkunimoto)\
**Post date:** [April 24, 2018, 11:08pm UTC](https://community.dynatrace.com/t/is-there-a-limit-on-the-length-of-sql-statements-in-dynatrace/11678/2 "2018-04-24T23:08:43Z")

</div>

Okay, the limit is 4K bytes and no configurations now.

---

<div class="post-metadata">

**Author:** ![Greg\_Sanders](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@Greg\_Sanders](https://community.dynatrace.com/u/Greg_Sanders)\
**Post date:** [August 26, 2020, 10:28am UTC](https://community.dynatrace.com/t/is-there-a-limit-on-the-length-of-sql-statements-in-dynatrace/11678/3 "2020-08-26T10:28:23Z")

</div>

Is there anything new on this question? is there a way to capture/view a database statement that exceeds 4K bytes?
