# Named Query renaming from "Query\_Name" to "Query\_Name (1)"

**URL:** <https://forum.inductiveautomation.com/t/named-query-renaming-from-query-name-to-query-name-1/65498>\
**Category:** Ignition\
**Tags:** ignition81, namedqueries\
**Created:** [October 21, 2022, 12:04am UTC](https://forum.inductiveautomation.com/t/named-query-renaming-from-query-name-to-query-name-1/65498 "2022-10-21T00:04:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel\_Farley](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@Joel\_Farley](https://forum.inductiveautomation.com/u/Joel_Farley)\
**Post date:** [October 21, 2022, 12:04am UTC](https://forum.inductiveautomation.com/t/named-query-renaming-from-query-name-to-query-name-1/65498/1 "2022-10-21T00:04:42Z")

</div>

Seen this happen a couple of times (8.1.19), not sure what could have caused it. Only noticed when the binding that was looking for it broke.

Has anyone else had this happen as well?

Thanks

---

<div class="post-metadata">

**Author:** ![Muhammad\_Musarrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/muhammad_musarrat/32/40074_2.png) [@Muhammad\_Musarrat](https://forum.inductiveautomation.com/u/Muhammad_Musarrat)\
**Post date:** [October 25, 2022, 9:36pm UTC](https://forum.inductiveautomation.com/t/named-query-renaming-from-query-name-to-query-name-1/65498/2 "2022-10-25T21:36:13Z")

</div>

I am not aware of anything that might cause that to happen except copying and pasting. Have you ran any scripts that might have created a new named query with the same name?

I tried importing and exporting a named query and it did not rename it, it asked me if I wanted to overwrite it instead. The only way I could replicate was when I copied and pasted it and even then it duplicated the query instead of renaming it. I am also running on 8.1.19.

---

<div class="post-metadata">

**Author:** ![Joel\_Farley](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@Joel\_Farley](https://forum.inductiveautomation.com/u/Joel_Farley)\
**Post date:** [October 25, 2022, 11:22pm UTC](https://forum.inductiveautomation.com/t/named-query-renaming-from-query-name-to-query-name-1/65498/3 "2022-10-25T23:22:01Z")

</div>

None of that sounds familiar. Definitely not creating Named Queries using scripts. I've also not edited this query (personally at least) for a while so was surprised when things on the view started updating incorrectly as it couldn't find the query at that path.

I've not been able to replicate it myself, but if I see it again I will investigate further and reply to this thread
