I have created a view in Oracle which has about 15,000 lines (Most of them are case statements) in two databases. I am able to view the DDL of the view in the SQL tab of the Sql developer in one database. However, I am unable to view it in the second database.
I get the below few lines only in the SQL tab instead of the full view definition:
-- Unable to render VIEW DDL for object MY_VIEW with DBMS_METADATA attempting internal generator.
CREATE VIEW MY_VIEW
AS
I have given all types of grants for the view to public with no success. I have read that we can use GET_DDL function but I'd prefer to view in the SQL tab. Can anyone please help to view the DDL or is it any difference in the two databases?