# Jdbc\_static: Getting a sql syntax error I did'nt write

**URL:** <https://discuss.elastic.co/t/jdbc-static-getting-a-sql-syntax-error-i-didnt-write/187844>\
**Category:** Logstash\
**Created:** [June 27, 2019, 1:32pm UTC](https://discuss.elastic.co/t/jdbc-static-getting-a-sql-syntax-error-i-didnt-write/187844 "2019-06-27T13:32:50Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ErikWarming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/erikwarming/32/39525_2.png) [@ErikWarming](https://discuss.elastic.co/u/ErikWarming)\
**Post date:** [July 4, 2019, 12:26pm UTC](https://discuss.elastic.co/t/jdbc-static-getting-a-sql-syntax-error-i-didnt-write/187844/4 "2019-07-04T12:26:46Z")

</div>

Its looks very related, but I am not sure how to use "The answer"

> The Answer is: SET GLOBAL sql\_mode = 'ANSI\_QUOTES';

---

_[View the full topic](https://discuss.elastic.co/t/jdbc-static-getting-a-sql-syntax-error-i-didnt-write/187844)._
