Q

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?

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?
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 last published in July 2005

Dig Deeper on Oracle XML

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close