How do you get information about objects in Oracle? The methods I've found are either primitive (query a system table) or don't work.
For example:
SELECT DBMS_METADATA.GET_DDL('VIEW','myview') FROM DUAL;
doesn't work, although I just now created myview.