I have read-only access to only a few tables in an Oracle database. I need to get schema information for some columns. I would like to use something similar to MS SQL sp_help .
I see the table that interests me in the following query:
SELECT * FROM ALL_TABLES
When I run this query, Oracle tells me that "the table was not found in the schema," and yes, the parameters are correct.
SELECT DBMS_METADATA.GET_DDL('TABLE', 'ITEM_COMMIT_AGG', 'INTAMPS') AS DDL FROM DUAL;
After using my Oracle 9000 universal translator, I assumed that this does not work because I do not have sufficient privileges. Given my limitations, how can I get the data type and data length in a column of a table that I have read access to using the PL-SQL statement?
oracle plsql ddl privileges
James Feb 26 2018-10-28T00 : 00Z
source share