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
Loop through database tables
RM has a "loop data sets" component.
My data sets are saved in a database. Is there is a way to loop through all database tables?
Tagged:
0
Answers
hi,
not with one operator. You can write a SQL statement generating you table of table names and use a Loop Values on it to get each table name as a macro. You can then use this table in the loop.
~Martin
Dortmund, Germany
Yes, you can use the Loop Repository operator and instead of pointing at your local repository point at the //DB/ where your stored connections are.
Below is a quick example.