Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting schemas from 8.1.7

Status
Not open for further replies.

asb555

Programmer
Dec 19, 2000
37
0
0
US
Hi All,

I am trying to find a way to export the schemas for all of the users in my Oracle database in one shot. I don't, however , want to export the system or temp user schemas in this export. Is this possible? Any help would be appreciated.

Thanks in Advance,
Amir
 
Hi.
You could build your parameterfile with SQL*Plus.Connect as SYSTEM (or another privileged user) and spool to a file you wish to use as parameterfile.

select username||','
from dba_users
where username not in ('SYSTEM','SYS',...)


then edit the file: first line: owner=(
and replace the comma in the last line with )
and specify other parameters you need (filename,...)

Stefan





 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top