01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 8 USER MANAGEMENT AND DATA LOADING 171<br />

Listing 8-14. Using the Utility<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Next, let’s import the data in<strong>to</strong> another schema using the utility, as illustrated in<br />

Listing 8-15; we can take advantage of the and clauses. Notice the warnings<br />

produced by the utility; it reports compilation errors for two triggers. This is because,<br />

in the absence of an explicit prohibition, the utility exported not only the data but also<br />

the definitions of indexes, constraints, triggers, and grants associated with the tables as<br />

well as the table and index statistics; the triggers on the table refer <strong>to</strong> s<strong>to</strong>red procedures<br />

that do not exist in the destination schema.<br />

Listing 8-15. Using the Utility

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!