The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
[Solved] How to delete records from a database table
MacPhotoBiker
Member Posts: 60 Contributor II
Hi,
is there a way to delete records in a database table based on the "Filter Example" operator?
Let's say I want to filter all records where year = 2013. I can easily create the filter, but I found no way how to physically delete the records in the database.
Thanks for any hint!
is there a way to delete records in a database table based on the "Filter Example" operator?
Let's say I want to filter all records where year = 2013. I can easily create the filter, but I found no way how to physically delete the records in the database.
Thanks for any hint!
0
Answers
As there is no direct "Delete" operator for databases yet, I would suggest to use a combination of a filter to get an example set of entries you want to delete, then use a "Loop Values" (if you only need to delete entries matching one column) or "Loop Examples" operator and place an "Execute SQL" operator inside the loop. The query you define could look like this: Regards,
Marco
thank you very much!
So, for me that works. But I guess that's why they say "With freedom/ power comes responsibility"