How to extarct DDL of table in oracle fusion HCM/FSCM — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to extarct DDL of table in oracle fusion HCM/FSCM

Hi,

We need to extarct DDL for few tables like column name, data type, size, primary key , foreign key constraints .
We tried sql query approach but due to data type size limitation not able to achieve it using sql query.
Like below query is giving appropriate result for PER_PEOPLE_GROUPS but failing for PER_ALL_ASSIGNMENTS_M.

WITH pk_columns AS (
SELECT acc.column_name
FROM all_cons_columns acc
JOIN all_constraints ac ON acc.constraint_name = ac.constraint_name
WHERE ac.constraint_type = 'P'
AND UPPER(ac.table_name) = UPPER(:p_table_name)
AND UPPER(ac.owner) = UPPER(:p_owner)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!