in sqldeveloper there is a useful tool for exporting on a sql file all the object that exist on a schema.
Anyhow i am unable to find something similar for exporting the schema and user informations.
The sqldeveloper version i'm using is 3.2
Thanks, Piwakkio.
DECLARE
OBJECTDDL CLOB;
BEGIN
FOR I IN (select * from user_objects WHERE OBJECT_TYPE IN(/*WHATEVER YOU WANT*/) ) LOOP
select dbms_metadata.get_ddl(I.OBJECT_TYPE,I.OBJECT_NAME) INTO OBJECTDDL from dual;
DBMS_OUTPUT.PUT_LINE(OBJECTDDL);
END LOOP;
END;
Good Luck :)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.