31
Views
2
Comments
How to remove all records from datatable
Question

Hello guys, i have this datatable and i want to remove all records in it. It´s possible or it´s necessary create new one?




mvp_badge
MVP
Rank: #24

Easy, create a Timer and schedule it to run when published. In its logic you use the Delete action within a loop to get rid of the records.

If you have advanced knowledge in SQL, you can use a component from the Forge called SQL Sandbox.

mvp_badge
MVP
Rank: #18

Hi,

You can install https://www.outsystems.com/forge/component-overview/5900/sql-sandbox

which allow you to execute SQL statements to delete 1, more or all records in your OutSystems entities.

Regards,

Daniel