Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Import Fromuser/Touser has problems with Views
I'm importing a database and need to change the schema (e.g., fromuser=foo
touser=bar).
All of the tables import OK. However, the export file includes a view definitions like:
create view stuff as select col from foo.tab
and import doesn't change foo.tab to bar.tab in the view definition. This means the view can't be created because the referenced table doesn't exist.
Does anybody know a way around this?
Manually editing the view definition after the fact isn't very satisfactory because I need to reimport the schema periodically.
TIA, josh Received on Tue Jun 25 2002 - 12:25:46 CDT