# \[bug-15464\]Query Tags running Update statements execute but display as errored

**URL:** <https://forum.inductiveautomation.com/t/bug-15464-query-tags-running-update-statements-execute-but-display-as-errored/30007>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [November 15, 2019, 6:19pm UTC](https://forum.inductiveautomation.com/t/bug-15464-query-tags-running-update-statements-execute-but-display-as-errored/30007 "2019-11-15T18:19:49Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 15, 2019, 8:23pm UTC](https://forum.inductiveautomation.com/t/bug-15464-query-tags-running-update-statements-execute-but-display-as-errored/30007/5 "2019-11-15T20:23:19Z")

</div>

While I don’t disagree with Phil about unconditional updates to the DB, this is actually supported - there’s code on the backend to attempt to determine the query type, and issue it to the db as an update/select appropriately- and there’s also a manual query type override, that we’re just not exposing in the UI - I’m not sure why.

@AIO, I can’t guarantee this will work, but if you right click the tag, select ‘Edit (raw)’, and then add a `queryType: Update` property, do you still get the error on the tag?  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/73f13490cbf9ad1fb33dec45f7ac78fc29c8d5a2.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-15464-query-tags-running-update-statements-execute-but-display-as-errored/30007)._
