# Named Queries changes not updating

**URL:** <https://forum.inductiveautomation.com/t/named-queries-changes-not-updating/45429>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [April 9, 2021, 1:23pm UTC](https://forum.inductiveautomation.com/t/named-queries-changes-not-updating/45429 "2021-04-09T13:23:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcaudle](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jcaudle](https://forum.inductiveautomation.com/u/jcaudle)\
**Post date:** [April 9, 2021, 1:23pm UTC](https://forum.inductiveautomation.com/t/named-queries-changes-not-updating/45429/1 "2021-04-09T13:23:27Z")

</div>

I’m seeing some strange behavior with Named Queries. I made a Named Query, Saved the project, Ran the query, Made Changes to the Named Query, Saved the project, now I’m getting errors running the _pervious named query_ instead of the new one.

The old query returns an error even though I correct the named query.

I saved the entire project. Closed and reopened, resaved. Confirmed the new query is still new and saved. Still getting errors running the old query. Gateway version 8.1.0

---

<div class="post-metadata">

**Author:** ![nimrodh](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nimrodh](https://forum.inductiveautomation.com/u/nimrodh)\
**Post date:** [April 20, 2021, 9:36pm UTC](https://forum.inductiveautomation.com/t/named-queries-changes-not-updating/45429/2 "2021-04-20T21:36:02Z")

</div>

> [@jcaudle](#):
>
> The old query returns an error even though I correct the named query.

I see the same behavior on Perspective 8.1.4.  
Two identical queries with a difference in the "id" trying to read from MSSQL  
(SELECT name FROM mytable WHERE id = 1)  
both works in the "Named Queries workbench" but not when binding.

Update: after "Merge" & "Save" looks like the issue is solved
