In some Snowflake databases I can run SELECT GET_DDL('Database', 'MyDatabase');
without problem but in another one, I get the following error message
SQL compilation error: Invalid object type: 'EXTERNAL_TABLE'
There might be an external defined in that database but I would still like to extract the DDL recursively on the database...
Is there any trick I could use?