Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> How to start export from PL/SQL
Hi
Is possible to run export (for generate dump) in stored proc.
for example
CREATE OR REPLACE PROCEDURE ExportProc is
cursor C1 is select username from dba_users where default_tablespace <> 'SYSTEM' and default_tablespace <> 'TOOLS';
MyUser dba_users.username%type;
begin
OPEN C1; LOOP FEtCH C1 into MyUser;
EXIT WHEN C1%NOTFOUND; dbms_output.put_line('Current User is: ' || MyUser);
/* Export command
... what to do
*/
END LOOP; CLOSE C1; end;
Oracle Version: 8.1.7.4
Thanks
Epicentre Team A
Received on Tue Sep 03 2002 - 05:57:48 CDT
![]() |
![]() |