# Query the tag historian?

**URL:** <https://forum.inductiveautomation.com/t/query-the-tag-historian/9314>\
**Category:** Ignition\
**Created:** [November 11, 2014, 3:27am UTC](https://forum.inductiveautomation.com/t/query-the-tag-historian/9314 "2014-11-11T03:27:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewdin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/drewdin/32/3363_2.png) [@drewdin](https://forum.inductiveautomation.com/u/drewdin)\
**Post date:** [November 11, 2014, 3:27am UTC](https://forum.inductiveautomation.com/t/query-the-tag-historian/9314/1 "2014-11-11T03:27:45Z")

</div>

I wanted to run some queries on the tag historian, how can i correlate the tag id to the tag in the historian? Thanks!

---

<div class="post-metadata">

**Author:** ![george](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/george/32/14066_2.png) [@george](https://forum.inductiveautomation.com/u/george)\
**Post date:** [November 12, 2014, 3:50pm UTC](https://forum.inductiveautomation.com/t/query-the-tag-historian/9314/2 "2014-11-12T15:50:35Z")

</div>

In the sqlth\_te table there are id and tagpath fields. Does that help?
