# When does the Delete Records task of an SQL Transaction Group run?

**URL:** <https://forum.inductiveautomation.com/t/when-does-the-delete-records-task-of-an-sql-transaction-group-run/41446>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [December 11, 2020, 8:21pm UTC](https://forum.inductiveautomation.com/t/when-does-the-delete-records-task-of-an-sql-transaction-group-run/41446 "2020-12-11T20:21:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [December 11, 2020, 8:25pm UTC](https://forum.inductiveautomation.com/t/when-does-the-delete-records-task-of-an-sql-transaction-group-run/41446/2 "2020-12-11T20:25:06Z")

</div>

Here you go. 🙂

> [@Delete records older than (Transaction Groups) - How does this work?](http://forum.inductiveautomation.com/t/delete-records-older-than-transaction-groups-how-does-this-work/36532):
>
> Question, when this setting is turned on, does this do a delete row as part of the same query call to SQL? or does it issue a second query immediately before or after the insert query? Just curious.

---

_[View the full topic](https://forum.inductiveautomation.com/t/when-does-the-delete-records-task-of-an-sql-transaction-group-run/41446)._
