# Creating SQLTags Programmatically

**URL:** <https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169>\
**Category:** Ignition\
**Created:** [September 20, 2012, 7:04am UTC](https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169 "2012-09-20T07:04:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lisawas](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Post date:** [September 20, 2012, 7:04am UTC](https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169/1 "2012-09-20T07:04:57Z")

</div>

Is there any way to create SQLTags in via a Python script? It looks like I can update tag values, but I can’t find an option to actually make tags and folders.

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [September 20, 2012, 11:00am UTC](https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169/2 "2012-09-20T11:00:06Z")

</div>

the solution at this post :  
[http://inductiveautomation.com/forum/viewtopic.php?f=88&t=8823](http://inductiveautomation.com/forum/viewtopic.php?f=88&t=8823)

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [September 20, 2012, 3:23pm UTC](https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169/3 "2012-09-20T15:23:36Z")

</div>

The other way would be to create the SQL required to insert the rows in the database. (a lot more work)

---

<div class="post-metadata">

**Author:** ![dave.fogle](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dave.fogle](https://forum.inductiveautomation.com/u/dave.fogle)\
**Post date:** [September 21, 2012, 10:55pm UTC](https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169/4 "2012-09-21T22:55:51Z")

</div>

The forum thread posted by mazerat is the only way to do this when using an internal SQLTags provider.

---

<div class="post-metadata">

**Author:** ![lisawas](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@lisawas](https://forum.inductiveautomation.com/u/lisawas)\
**Post date:** [September 27, 2012, 1:55am UTC](https://forum.inductiveautomation.com/t/creating-sqltags-programmatically/5169/5 "2012-09-27T01:55:46Z")

</div>

Thanks. That module is proving very helpful.
