# system.db.runPrepUpdate with variables

**URL:** <https://forum.inductiveautomation.com/t/system-db-runprepupdate-with-variables/16478>\
**Category:** Ignition\
**Tags:** ignition79, database, scripting\
**Created:** [January 4, 2018, 8:22pm UTC](https://forum.inductiveautomation.com/t/system-db-runprepupdate-with-variables/16478 "2018-01-04T20:22:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tbackus](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tbackus/32/5091_2.png) [@tbackus](https://forum.inductiveautomation.com/u/tbackus)\
**Post date:** [January 4, 2018, 8:46pm UTC](https://forum.inductiveautomation.com/t/system-db-runprepupdate-with-variables/16478/3 "2018-01-04T20:46:50Z")

</div>

Yep… Baging my head on the desk now that I see. Thanks!! For some reason I was stuck on ‘%s’ method of replacing the variable instead of ‘?’.

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-db-runprepupdate-with-variables/16478)._
