# Script changing a OPC tag's OPC item path

**URL:** <https://forum.inductiveautomation.com/t/script-changing-a-opc-tags-opc-item-path/2323>\
**Category:** Ignition\
**Created:** [November 5, 2010, 3:32pm UTC](https://forum.inductiveautomation.com/t/script-changing-a-opc-tags-opc-item-path/2323 "2010-11-05T15:32:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtesche](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@dtesche](https://forum.inductiveautomation.com/u/dtesche)\
**Post date:** [November 5, 2010, 3:32pm UTC](https://forum.inductiveautomation.com/t/script-changing-a-opc-tags-opc-item-path/2323/1 "2010-11-05T15:32:15Z")

</div>

Can a script change the OPC item path of a OPC tag?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [November 5, 2010, 3:44pm UTC](https://forum.inductiveautomation.com/t/script-changing-a-opc-tags-opc-item-path/2323/2 "2010-11-05T15:44:05Z")

</div>

No, SQLTags stored internally cannot be altered in scripting. You have to use the SQLTags browser in the designer. However, if you create a SQLTags provider that is stored in the database you can edit them on the fly. Take a look at this link [http://www.inductiveautomation.com/support/usermanuals/ignition/database\_driving\_provider.htm?zoom\_highlightsub=database%2Bdriving%2Bprovider](http://www.inductiveautomation.com/support/usermanuals/ignition/database_driving_provider.htm?zoom_highlightsub=database%2Bdriving%2Bprovider).

There are pros and cons for each type of SQLTags provider. Internal is very efficient and fast by cannot be altered dynamically. The database provider has to query a database all of the time so it is not as fast but can altered dynamically.
