Ask the Expert

Changing the tablespace for an XML schema

When I register an XML-Schema with dbms_XMLSchema.registerSchema, are the tables created into the default tablespace? Is it possible to change the tablespace for the tables?

    Requires Free Membership to View

Yes you can. You use schema annotations to do this. The specific annotation you want to use is:

tableProps - Any valid table storage clause. Specifies the TABLE storage clause that is appended to the default CREATE TABLE statement. This is meaningful mainly for global and out-of-line elements.

For more information, search the XML DB Developer's Guide for DBMS_XMLSchema and then look for annotation.

This was first published in July 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: