# How to clear an entire table?

**URL:** https://community.glideapps.com/t/how-to-clear-an-entire-table/80893
**Category:** Ask for Help
**Tags:** tutorial
**Created:** [March 21, 2025, 10:06pm UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893 "2025-03-21T22:06:53Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Braunne](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Braunne](https://community.glideapps.com/u/Braunne)
#### Post date: [March 21, 2025, 10:06pm UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/1 "2025-03-21T22:06:53Z")

</div>

Hi all,

Is there a Data command to **clear** (empty) an entire table? The table in question has three values: Row ID, A and B

(if there is one I missed it. I dabbled with **Remove all elements** with no success)

A pointer would be appreciated!

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [March 21, 2025, 11:29pm UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/2 "2025-03-21T23:29:58Z")

</div>

Do you need to clear the table once only as the builder of the app ? Or do you need the users of the app to clear the table ? If the latter (the users), do they trigger clearing the table or is this process triggered at regular intervals or on certain days?

---

<div class="post-metadata">

### Author: ![Braunne](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Braunne](https://community.glideapps.com/u/Braunne)
#### Post date: [March 22, 2025, 12:00am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/3 "2025-03-22T00:00:28Z")

</div>

> [@nathanaelb](#):
>
> as the builder of the app

“as the builder of the app”

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [March 22, 2025, 12:02am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/4 "2025-03-22T00:02:38Z")

</div>

Then select with your mouse/trackpad the cells you want to delete, hit “Delete” or “Backspace”, and confirm.

---

<div class="post-metadata">

### Author: ![Braunne](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Braunne](https://community.glideapps.com/u/Braunne)
#### Post date: [March 22, 2025, 12:08am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/5 "2025-03-22T00:08:54Z")

</div>

What about the users triggering clearing the table? (sorry about all the questions)

---

<div class="post-metadata">

### Author: ![nathanaelb](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nathanaelb/32/43079_2.png) [@nathanaelb](https://community.glideapps.com/u/nathanaelb)
#### Post date: [March 22, 2025, 12:15am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/6 "2025-03-22T00:15:40Z")

</div>

I’ve never had to do it, but I would explore setting up a workflow with a “Delete row” action and a loop.

---

<div class="post-metadata">

### Author: ![Braunne](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Braunne](https://community.glideapps.com/u/Braunne)
#### Post date: [March 22, 2025, 12:16am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/7 "2025-03-22T00:16:20Z")

</div>

thank you, @nathanaelb

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [March 22, 2025, 12:19am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/8 "2025-03-22T00:19:20Z")

</div>

If you need to **delete** the rows, create a query targetting the whole table without any filters, and delete all rows through that query.

Please note that this costs updates.

---

<div class="post-metadata">

### Author: ![Simon\_Hill](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simon_hill/32/94730_2.png) [@Simon\_Hill](https://community.glideapps.com/u/Simon_Hill)
#### Post date: [March 22, 2025, 7:22am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/9 "2025-03-22T07:22:40Z")

</div>

Is there also a watchout with user specific columns? If you delete the contents as one signed in-user of the App, the result will not delete the contents for all users…

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [March 22, 2025, 8:28am UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/10 "2025-03-22T08:28:26Z")

</div>

Yeah, we need to know the context better here to know if delete rows or set columns is the one to use, or if there’s anything fit for the use case at all.

---

<div class="post-metadata">

### Author: ![Braunne](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Braunne](https://community.glideapps.com/u/Braunne)
#### Post date: [March 22, 2025, 9:25pm UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/11 "2025-03-22T21:25:20Z")

</div>

Thank you. Good to know.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [March 29, 2025, 9:26pm UTC](https://community.glideapps.com/t/how-to-clear-an-entire-table/80893/12 "2025-03-29T21:26:15Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
