GENERATE_DDL_FOR_USER

Generates DDL for named user.

Syntax:

SYS_BOOT.MGMT.GENERATE_DDL_FOR_USER(user_name);

where <user_name> is the name of the user for which you want to generate DDL. You can implement this function using the following code:

SELECT STATEMENT FROM
TABLE(SYS_BOOT.MGMT.GENERATE_DDL_FOR_USER('MY_USER'));