I want to generate the DDL of an object which a synonym points to. Consider the below example.
I have a synonym named USER which points to USER_1 table. I want to generate DDL of the USER_1 table using the synonym as input.
I need to generate for over 400 synonyms, hence searching for a method to retrieve DDL using synonyms.
Thanks in advance.