Learn about the new Oracle AI Agent Studio for Fusion Applications: Watch Now
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
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)
0