# \[FEATURE\] When moving/renaming/deleting tags, also modify SQL history table links

**URL:** <https://forum.inductiveautomation.com/t/feature-when-moving-renaming-deleting-tags-also-modify-sql-history-table-links/57241>\
**Category:** Ignition\
**Created:** [March 16, 2022, 12:28am UTC](https://forum.inductiveautomation.com/t/feature-when-moving-renaming-deleting-tags-also-modify-sql-history-table-links/57241 "2022-03-16T00:28:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 16, 2022, 12:28am UTC](https://forum.inductiveautomation.com/t/feature-when-moving-renaming-deleting-tags-also-modify-sql-history-table-links/57241/1 "2022-03-16T00:28:59Z")

</div>

I’m sure there was a post for this years ago, but couldn’t find it in my extensive 10s search.

It would be really nice if moving or renaming tags with history would also move/rename the tagpath link in the associated sqlth\_te SQL table as well so that history follows along. Add to this a _prompt_ to delete history if a tag is deleted. Sometimes history would not want to be deleted, so I imagine the default should be No.

This would be _especially_ useful when you copy/paste tags which then creates history for them, and then you rename the tags to what they should be, thus creating bogus history in the database as well as bogus tagpaths for operators to select

I found this idea already, so please vote here:

> **[keep tag history values linked when tags are moved | Voters | Inductive...](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/keep-tag-history-values-linked-when-tags-are-moved)**

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 16, 2022, 1:30pm UTC](https://forum.inductiveautomation.com/t/feature-when-moving-renaming-deleting-tags-also-modify-sql-history-table-links/57241/2 "2022-03-16T13:30:04Z")

</div>

This currently exists in our issue tracker as IGN-3183 and is probably a feature request as old as time…

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 16, 2022, 9:43pm UTC](https://forum.inductiveautomation.com/t/feature-when-moving-renaming-deleting-tags-also-modify-sql-history-table-links/57241/3 "2022-03-16T21:43:29Z")

</div>

Maybe this time the fairytale can come true? 😃

(that was probably a little too cryptic. 🎵 Tale

> [@Kevin.Herron](#):
>
> as old as time

🎵 from the Disney fairytale)

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 17, 2022, 11:33am UTC](https://forum.inductiveautomation.com/t/feature-when-moving-renaming-deleting-tags-also-modify-sql-history-table-links/57241/4 "2022-03-17T11:33:56Z")

</div>

Who is the Beauty and Who is the beast in this?
