Hello Experts
Given:
- Schema A (source) : Apex 5
- Schema B (destination) : Apex 5
Task:
- Migrate only functions and views from Schema A to Schema B
Problem:
- When exporting the DDL script for functions and views, they are not logically ordered. In other words, for example, it executes scripts to create a view that uses a function that it is not created yet. It is coming below.
ORA-00922: missing or invalid option
00922. 00000 - "missing or invalid option"
Question:
How to export DDL script that executes without such errors
Regards
Mahmoud