Hi Team,Is there way to get all the tables structure present in the appian db. I mean DDL queries for the all the tables present in Appian.Just exploring if this is possible or not, If there is a way to export all tables structure for creating them.Thanks in advance.
Discussion posts and replies are publicly visible
Sure. You can use normal MariaDB SQL statements to get tables and fields.
Hi Stefan Helzle (stefanhelzle0001), Can you please elaborate a little more on this?A step by step process would be more helpful.
Go to Export tab in phpMyAdmin(Appian Cloud DB), select Custom method, and set Format to SQL.In the Tables section, click Select All under Structure column and make sure Data column is unchecked. Scroll down and click Export button.You'll get a .sql file downloaded with all CREATE TABLE scripts - structure only, no data.
We have the option to export table structure and data in the Cloud Database. Give it a try -
1.Click on the database you want to get DDL scripts against
2. Click on Export tab at top menu bar
3. Under 'Export Method' - select 'Custom - display all possible options'. You will see the list of tables within that database all selected to be exported with structure and data.
4. Deselect the data for all the tables. You will have to do it one- by - one, no shortcuts here.
5. If you don't wish to export view/store procedures etc, toggle off the options under 'Object Creation Options'
6. Lastly click on 'Export' button at the bottom of the page. This will generate the expected SQL file with DDL queries for all the selected tables.
Thanks Shubham Aware This worked for me.
Thanks Harsha Sharma For your suggestion.The above solution worked for me.