November 21, 2008 
November - 2008
S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

October - 2008
S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728293031 

Categories
  1. Macintosh (56)
  2. PDF (54)
  3. Misc (51)
  4. New England (43)
  5. Business (42)
  6. Computers (41)
  7. Sports (37)
  8. Travel (34)
  9. Political (33)
  10. Boston (30)
  11. Shopping (18)
  12. Employment (10)
  13. Spammers (10)
  14. Productivity (8)
  15. Movies (6)
  16. Clutter (5)
  17. Wallpaper (4)
  18. Restaurant (3)
  19. Windows (1)

All Entries

Random Entry


Home > CRYAN Blog > Oracle Import Example
July 24, 2008 Oracle Import Example 

The following is an example of duplicating an Orcle database from one schema to another schema. You may want to do this when you don't want to touch production DB during development.

This task is export the database contents of the SCHEMAA and importing them to SCHEMAB

exp and imp are Oracle command line Utilities. On some Oracle installations they are found in: D:\oracle\ora92\bin

MYDATABASE is a DBA:

## - Export SCHEMAA Data:
exp MYDATABASE/MYDATABASE@o6 file=schemaa.dmp log=schemaa.log rows=yes indexes=no OWNER=SCHEMAA

## - Import SCHEMAA to SCHEMAB
imp MYDATABASE/MYDATABASE@o6 FROMUSER=SCHEMAA TOUSER=SCHEMAB  file=schemaa.dmp