What Oracle privileges do I need to use DBMS_METADATA.GET_DDL?
Tag : oracle , By : Tonci Grgin
Date : March 29 2020, 07:55 AM
|
Generating DDL script for object without schema name baked in using DBMS_METADATA.GET_DDL?
Date : March 29 2020, 07:55 AM
may help you . How can I generate the DDL script for my object with DBMS_METADATA.GET_DDL without the schema name baked in? , Use SET_REMAP_PARAM with the REMAP_SCHEMA option: DBMS_METADATA.SET_REMAP_PARAM(th,'REMAP_SCHEMA','HR',NULL);
|
dbms_metadata.get_ddl not working
Date : March 29 2020, 07:55 AM
|
Customized Table DDL from dbms_metadata.get_ddl
Date : March 29 2020, 07:55 AM
|
Any alternative way of DBMS_METADATA.GET_DDL
Date : March 29 2020, 07:55 AM
like below fixes the issue The only scenario in which we need to run DBMS_METADATA.GET_DDL() is when we're working with a database whose schemas are not under proper source control. This is a bad situation and one which a DBA ought to want to improve. So, you need to get the DBA on your side. This should be easy if the purpose of your request is to get the database into source control, that is, this is a one-off exercise and safe development practices are being put in place to ensure that all future changes to the database will be tracked under source control.
|